2025.03.05 21:18:56.014113 [ 725 ] {} Context: Server was built in debug mode. It will work slowly. 2025.03.05 21:18:56.044753 [ 725 ] {} Context: Delay accounting is not enabled, OSIOWaitMicroseconds will not be gathered. You can enable it using `echo 1 > /proc/sys/kernel/task_delayacct` or by using sysctl. 2025.03.05 21:18:56.047351 [ 725 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2025.03.05 21:18:56.047528 [ 725 ] {} Application: Integrity check of the executable skipped because the reference checksum could not be read. 2025.03.05 21:18:56.996811 [ 725 ] {} CloudPlacementInfo: Placement info has not been loaded 2025.03.05 21:18:57.410124 [ 725 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2025.03.05 21:18:57.411221 [ 725 ] {} KeeperLogStore: Removing all changelogs 2025.03.05 21:18:57.412826 [ 725 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2025.03.05 21:18:57.419373 [ 725 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2025.03.05 21:18:57.419472 [ 725 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2025.03.05 21:18:57.471159 [ 1307 ] {} RaftInstance: Election timeout, initiate leader election 2025.03.05 21:18:57.588636 [ 725 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2025.03.05 21:18:57.588762 [ 725 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2025.03.05 21:18:58.162352 [ 725 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2025.03.05 21:20:48.665550 [ 1483 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/IO/ReadHelpers.h:118: void DB::readPODBinary(int&, DB::ReadBuffer&) @ 0x00000000133856e2 8. /build/src/IO/ReadHelpers.h:1303: void DB::readBinary(int&, DB::ReadBuffer&) @ 0x000000001338569d 9. /build/src/IO/ReadHelpers.h:1340: void DB::readBinaryEndian<(std::endian)64206, int>(int&, DB::ReadBuffer&) @ 0x000000001d41bb3d 10. /build/src/IO/ReadHelpers.h:1353: void DB::readBinaryBigEndian(int&, DB::ReadBuffer&) @ 0x000000001d41bafd 11. /build/src/Common/ZooKeeper/ZooKeeperIO.h:51: void Coordination::read(int&, DB::ReadBuffer&) @ 0x000000001d41623d 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:289: void Coordination::ZooKeeper::read(int&) @ 0x000000001e2511ed 13. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:807: Coordination::ZooKeeper::receiveEvent() @ 0x000000001e24658c 14. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:773: Coordination::ZooKeeper::receiveThread() @ 0x000000001e245fd9 15. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:398: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1::operator()() const @ 0x000000001e24c498 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24c475 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e24c459 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&) @ 0x000000001e24c3bd 19. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&&)::'lambda'()::operator()() @ 0x000000001e24c2e5 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24c255 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001e24c235 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001e24c215 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001e24c1e0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 31. ? @ 0x00007ff3d325bac3 (version 24.3.12.76.altinitystable) 2025.03.05 21:20:48.790177 [ 1472 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket (127.0.0.1:35184 -> 127.0.0.1:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:303: Coordination::ZooKeeper::flushWriteBuffer() @ 0x000000001e23c5fd 9. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:707: Coordination::ZooKeeper::sendThread() @ 0x000000001e245269 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:397: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0::operator()() const @ 0x000000001e24bc58 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24bc35 12. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e24bc19 13. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0&, std::tuple<>&) @ 0x000000001e24bb7d 14. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_0&&)::'lambda'()::operator()() @ 0x000000001e24baa5 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24ba15 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001e24b9f5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001e24b9d5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001e24b9a0 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 21. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 22. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 24. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 25. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:20:48.980841 [ 1483 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:272: Poco::Net::SocketImpl::shutdown() @ 0x00000000228a2732 9. /build/base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x00000000228a645e 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:1032: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000001e23d2e9 11. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:795: Coordination::ZooKeeper::receiveThread() @ 0x000000001e2463df 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:398: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1::operator()() const @ 0x000000001e24c498 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24c475 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e24c459 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&, std::tuple<>&) @ 0x000000001e24c3bd 16. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr)::$_1&&)::'lambda'()::operator()() @ 0x000000001e24c2e5 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001e24c255 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001e24c235 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001e24c215 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001e24c1e0 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:20:54.544183 [ 1581 ] {41a0df7d-746c-4fd1-87ee-db01fcebd15f} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'Variant(String, UInt32)' because experimental Variant type is not allowed. Set setting allow_experimental_variant_type = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test add column bad Variant(UInt32, String);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:71: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cf6c 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.545293 [ 1581 ] {41a0df7d-746c-4fd1-87ee-db01fcebd15f} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'Variant(String, UInt32)' because experimental Variant type is not allowed. Set setting allow_experimental_variant_type = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:71: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cf6c 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.695035 [ 1581 ] {e8fdf5bc-f2be-4168-98e7-f5a944a4e9e2} executeQuery: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt8) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test add column bad LowCardinality(UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.841120 [ 1581 ] {e8fdf5bc-f2be-4168-98e7-f5a944a4e9e2} TCPHandler: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt8) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.841140 [ 1578 ] {0ad09642-f5b9-4b40-a357-97d314f82ff5} executeQuery: Code: 80. DB::Exception: Cannot CREATE a table AS test_vh1hx8uv.mv_from_base_to_target, it is a Materialized View without storage. Use "AS `test_vh1hx8uv.target_table`" instead. (INCORRECT_QUERY) (version 24.3.12.76.altinitystable) (from [::1]:52302) (comment: 03161_create_table_as_mv.sql) (in query: CREATE TABLE other_table_2 AS mv_from_base_to_target;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, DB::QualifiedTableName&&) @ 0x000000001b021e8c 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:982: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x000000001b010bce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:723: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00de7c 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.841915 [ 1578 ] {0ad09642-f5b9-4b40-a357-97d314f82ff5} TCPHandler: Code: 80. DB::Exception: Cannot CREATE a table AS test_vh1hx8uv.mv_from_base_to_target, it is a Materialized View without storage. Use "AS `test_vh1hx8uv.target_table`" instead. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, DB::QualifiedTableName&&) @ 0x000000001b021e8c 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:982: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x000000001b010bce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:723: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00de7c 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.994481 [ 1581 ] {c40af731-073e-4818-b323-f643fa0c6cb2} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'FixedString(10000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test add column bad FixedString(10000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:54.995388 [ 1581 ] {c40af731-073e-4818-b323-f643fa0c6cb2} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'FixedString(10000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1290: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ec80 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.154669 [ 1581 ] {ea7306ed-be6b-492f-933b-27c6f7f97830} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'Variant(String, UInt32)' because experimental Variant type is not allowed. Set setting allow_experimental_variant_type = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test modify column id Variant(UInt32, String);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:71: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cf6c 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.155680 [ 1581 ] {ea7306ed-be6b-492f-933b-27c6f7f97830} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'Variant(String, UInt32)' because experimental Variant type is not allowed. Set setting allow_experimental_variant_type = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:71: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cf6c 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.325456 [ 1581 ] {b1822a16-077c-4c7c-b4e4-2f4ed7a429f3} executeQuery: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt8) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test modify column id LowCardinality(UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.326516 [ 1581 ] {b1822a16-077c-4c7c-b4e4-2f4ed7a429f3} TCPHandler: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt8) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.488691 [ 1581 ] {4c530d35-3c34-4138-8533-2f5ad7e1da9a} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'FixedString(10000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52326) (comment: 03215_validate_type_in_alter_add_modify_column.sql) (in query: alter table test modify column id FixedString(10000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.673959 [ 1581 ] {4c530d35-3c34-4138-8533-2f5ad7e1da9a} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'FixedString(10000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Storages/AlterCommands.cpp:1372: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250147 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:20:55.673994 [ 728 ] {12719faf-ec9b-4855-a2ef-41691646023e} executeQuery: Code: 47. DB::Exception: Unknown identifier 'xyz' inside COLUMNS matcher. In scope Scope node SELECT COLUMNS(bar, foo, xyz) APPLY length FROM test Identifier lookup to resolve state 2 Identifier foo EXPRESSION resolve result test_fk6p4pb2.test.foo place JOIN_TREE resolved from parent scopes 0 Identifier bar EXPRESSION resolve result test_fk6p4pb2.test.bar place JOIN_TREE resolved from parent scopes 0 Expression argument name to node 0 Alias name to expression node table size 0 Alias name to function node table size 0 Alias name to table expression node table size 0 CTE name to query node table size 0 WINDOW name to window node table size 0 Nodes with duplicated aliases size 0 Expression resolve process stack 1 Expression COLUMNS(bar, foo, xyz) APPLY length Table expressions in resolve process size 0 Non cached identifier lookups during expression resolve 0 Table expression node to data 1 Table expression node test_fk6p4pb2.test data Table expression name test_fk6p4pb2.test table expression description table database name test_fk6p4pb2 table name test should qualify columns 1 columns size 10 Column name _block_number column node COLUMN id: 0, column_name: _block_number, result_type: UInt64, source_id: 1 Column name _row_exists column node COLUMN id: 0, column_name: _row_exists, result_type: UInt8, source_id: 1 Column name _part_offset column node COLUMN id: 0, column_name: _part_offset, result_type: UInt64, source_id: 1 Column name _sample_factor column node COLUMN id: 0, column_name: _sample_factor, result_type: Float64, source_id: 1 Column name _part_uuid column node COLUMN id: 0, column_name: _part_uuid, result_type: UUID, source_id: 1 Column name _partition_id column node COLUMN id: 0, column_name: _partition_id, result_type: LowCardinality(String), source_id: 1 Column name _part column node COLUMN id: 0, column_name: _part, result_type: LowCardinality(String), source_id: 1 Column name bar column node COLUMN id: 0, column_name: bar, result_type: String, source_id: 1 Column name _part_index column node COLUMN id: 0, column_name: _part_index, result_type: UInt64, source_id: 1 Column name foo column node COLUMN id: 0, column_name: foo, result_type: String, source_id: 1 Use identifier lookup to result cache 1 Subquery depth 0 . (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:52330) (comment: 03152_analyzer_columns_list.sql) (in query: SELECT COLUMNS(bar, foo, xyz) APPLY (length) FROM test;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4629: DB::(anonymous namespace)::QueryAnalyzer::resolveUnqualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0dd71d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4840: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0da0c0 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6450: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1120 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:20:55.675158 [ 728 ] {12719faf-ec9b-4855-a2ef-41691646023e} TCPHandler: Code: 47. DB::Exception: Unknown identifier 'xyz' inside COLUMNS matcher. In scope Scope node SELECT COLUMNS(bar, foo, xyz) APPLY length FROM test Identifier lookup to resolve state 2 Identifier foo EXPRESSION resolve result test_fk6p4pb2.test.foo place JOIN_TREE resolved from parent scopes 0 Identifier bar EXPRESSION resolve result test_fk6p4pb2.test.bar place JOIN_TREE resolved from parent scopes 0 Expression argument name to node 0 Alias name to expression node table size 0 Alias name to function node table size 0 Alias name to table expression node table size 0 CTE name to query node table size 0 WINDOW name to window node table size 0 Nodes with duplicated aliases size 0 Expression resolve process stack 1 Expression COLUMNS(bar, foo, xyz) APPLY length Table expressions in resolve process size 0 Non cached identifier lookups during expression resolve 0 Table expression node to data 1 Table expression node test_fk6p4pb2.test data Table expression name test_fk6p4pb2.test table expression description table database name test_fk6p4pb2 table name test should qualify columns 1 columns size 10 Column name _block_number column node COLUMN id: 0, column_name: _block_number, result_type: UInt64, source_id: 1 Column name _row_exists column node COLUMN id: 0, column_name: _row_exists, result_type: UInt8, source_id: 1 Column name _part_offset column node COLUMN id: 0, column_name: _part_offset, result_type: UInt64, source_id: 1 Column name _sample_factor column node COLUMN id: 0, column_name: _sample_factor, result_type: Float64, source_id: 1 Column name _part_uuid column node COLUMN id: 0, column_name: _part_uuid, result_type: UUID, source_id: 1 Column name _partition_id column node COLUMN id: 0, column_name: _partition_id, result_type: LowCardinality(String), source_id: 1 Column name _part column node COLUMN id: 0, column_name: _part, result_type: LowCardinality(String), source_id: 1 Column name bar column node COLUMN id: 0, column_name: bar, result_type: String, source_id: 1 Column name _part_index column node COLUMN id: 0, column_name: _part_index, result_type: UInt64, source_id: 1 Column name foo column node COLUMN id: 0, column_name: foo, result_type: String, source_id: 1 Use identifier lookup to result cache 1 Subquery depth 0 . (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4629: DB::(anonymous namespace)::QueryAnalyzer::resolveUnqualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0dd71d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4840: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0da0c0 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6450: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1120 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:20:57.918127 [ 730 ] {0bf4e5a5-0ef9-4aae-81db-86ca304225fc} executeQuery: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:52356) (comment: 03142_untuple_crash.sql) (in query: SELECT untuple(x -> 0) -- { serverError ILLEGAL_TYPE_OF_ARGUMENT } ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5819: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b8f75 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:20:57.918944 [ 730 ] {0bf4e5a5-0ef9-4aae-81db-86ca304225fc} TCPHandler: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5819: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b8f75 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:21:04.534736 [ 1579 ] {af1a0d2c-0712-4362-ad4e-73f150a43684} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: unexpected word after Date: In scope SELECT parseDateTimeBestEffort(toFixedString('01/12/2017,', 11)). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:58564) (comment: 03014_msan_parse_date_time.sql) (in query: SELECT parseDateTimeBestEffort(toFixedString('01/12/2017,', 11));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:578: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000013399fc0 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af07b80 10. /build/src/Functions/FunctionsConversion.cpp:2471: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06665 11. /build/src/Functions/FunctionsConversion.cpp:2507: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0569c 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:21:04.535557 [ 1579 ] {af1a0d2c-0712-4362-ad4e-73f150a43684} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: unexpected word after Date: In scope SELECT parseDateTimeBestEffort(toFixedString('01/12/2017,', 11)). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:578: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x0000000013399fc0 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af07b80 10. /build/src/Functions/FunctionsConversion.cpp:2471: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06665 11. /build/src/Functions/FunctionsConversion.cpp:2507: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0569c 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:21:06.847126 [ 730 ] {1785fe99-2335-4f63-9824-ef3ab19ef6ff} executeQuery: Code: 6. DB::Exception: Cannot parse string 'NULL' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION CAST(__table1.x :: 3, 'UInt8'_String :: 1) -> CAST(__table1.x, 'UInt8'_String) UInt8 : 0'. (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: SELECT CAST(x AS UInt8) AS y, toTypeName(y) FROM VALUES('x Nullable(String)', ('123'), ('NULL'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:4556: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc7250 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6fe6 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc6f80 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6f20 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc6ecb 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 2025.03.05 21:21:06.848250 [ 730 ] {1785fe99-2335-4f63-9824-ef3ab19ef6ff} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'NULL' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION CAST(__table1.x :: 3, 'UInt8'_String :: 1) -> CAST(__table1.x, 'UInt8'_String) UInt8 : 0'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:4556: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc7250 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6fe6 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc6f80 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6f20 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc6ecb 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 2025.03.05 21:21:07.143478 [ 730 ] {3dcf6a49-2b52-4826-b53d-01a89d178e9f} executeQuery: Code: 72. DB::Exception: Unsigned type must not contain '-' symbol: Cannot parse UInt8 from String: In scope SELECT CAST('-123', 'UInt8'). (CANNOT_PARSE_NUMBER) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: SELECT CAST('-123' AS UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:401: void DB::readIntTextImpl(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b3b8 7. /build/src/IO/ReadHelpers.h:497: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, char8_t>(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b07d 8. /build/src/IO/ReadHelpers.h:1364: void DB::readText(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b03d 9. /build/src/Functions/FunctionsConversion.cpp:648: void DB::(anonymous namespace)::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000aabdde8 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd0e6 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:21:07.144273 [ 730 ] {3dcf6a49-2b52-4826-b53d-01a89d178e9f} TCPHandler: Code: 72. DB::Exception: Unsigned type must not contain '-' symbol: Cannot parse UInt8 from String: In scope SELECT CAST('-123', 'UInt8'). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:401: void DB::readIntTextImpl(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b3b8 7. /build/src/IO/ReadHelpers.h:497: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, char8_t>(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b07d 8. /build/src/IO/ReadHelpers.h:1364: void DB::readText(char8_t&, DB::ReadBuffer&) @ 0x000000000af6b03d 9. /build/src/Functions/FunctionsConversion.cpp:648: void DB::(anonymous namespace)::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000aabdde8 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd0e6 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:21:07.294989 [ 730 ] {57fc02f8-47a0-4596-9c7d-6b42544765fe} executeQuery: Code: 6. DB::Exception: Cannot parse string ' 123' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: In scope SELECT CAST(' 123', 'UInt8'). (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- Parsing from a string does not tolerate extra whitespace characters: SELECT CAST(' 123' AS UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:21:07.295877 [ 730 ] {57fc02f8-47a0-4596-9c7d-6b42544765fe} TCPHandler: Code: 6. DB::Exception: Cannot parse string ' 123' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: In scope SELECT CAST(' 123', 'UInt8'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:21:07.316530 [ 730 ] {0bce0c85-312f-48db-8519-f68e0a143548} executeQuery: Code: 6. DB::Exception: Cannot parse string '123 ' as UInt8: syntax error at position 3 (parsed just '123'). Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: In scope SELECT CAST('123 ', 'UInt8'). (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: SELECT CAST('123 ' AS UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:21:07.317602 [ 730 ] {0bce0c85-312f-48db-8519-f68e0a143548} TCPHandler: Code: 6. DB::Exception: Cannot parse string '123 ' as UInt8: syntax error at position 3 (parsed just '123'). Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: In scope SELECT CAST('123 ', 'UInt8'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:21:07.789912 [ 730 ] {f8c3c182-8c67-4e94-ac42-2e192f882eea} executeQuery: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: In scope SELECT CAST(100000000000000000000., 'DateTime64(9, \'Europe/Amsterdam\')'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- A special case is DateTime64(9) - the maximum resolution, where is does not cover the usual range, -- and in this case, it throws an exception on overflow (I don't mind if we change this behavior in the future): SELECT CAST(1e20 AS DateTime64(9, 'Europe/Amsterdam'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000019f50103 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDateTime64::FieldType DB::convertToDecimal, DB::DataTypeDateTime64>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f5483f 8. /build/src/Functions/FunctionsConversion.cpp:437: DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(double, DateLUTImpl const&) const @ 0x000000000acbdd75 9. /build/src/Functions/DateTimeTransforms.h:2118: void DB::Transformer, DB::DataTypeDateTime64, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, unsigned int>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0> const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000acbdcb2 10. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0> const&) @ 0x000000000acbd9b9 11. /build/src/Functions/FunctionsConversion.cpp:1293: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime64, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000acf1579 12. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)::operator(), DB::DataTypeDateTime64>>(DB::DataTypeDateTime64 const&) const @ 0x000000000aceedfa 13. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)&&) @ 0x000000000acee5a0 14. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acee1dc 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acee126 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acee0c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acee060 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acee00b 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 21. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 22. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 23. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 24. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 25. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 26. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 27. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 2025.03.05 21:21:07.790833 [ 730 ] {f8c3c182-8c67-4e94-ac42-2e192f882eea} TCPHandler: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: In scope SELECT CAST(100000000000000000000., 'DateTime64(9, \'Europe/Amsterdam\')'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000019f50103 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDateTime64::FieldType DB::convertToDecimal, DB::DataTypeDateTime64>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f5483f 8. /build/src/Functions/FunctionsConversion.cpp:437: DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(double, DateLUTImpl const&) const @ 0x000000000acbdd75 9. /build/src/Functions/DateTimeTransforms.h:2118: void DB::Transformer, DB::DataTypeDateTime64, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, unsigned int>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0> const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000acbdcb2 10. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTime64TransformFloat, double, (DB::FormatSettings::DateTimeOverflowBehavior)0> const&) @ 0x000000000acbd9b9 11. /build/src/Functions/FunctionsConversion.cpp:1293: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime64, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000acf1579 12. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)::operator(), DB::DataTypeDateTime64>>(DB::DataTypeDateTime64 const&) const @ 0x000000000aceedfa 13. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime64 const&)&&) @ 0x000000000acee5a0 14. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper(std::shared_ptr const&, DB::DataTypeDateTime64 const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acee1dc 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acee126 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acee0c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acee060 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acee00b 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 21. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 22. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 23. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 24. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 25. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 26. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 27. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 2025.03.05 21:21:08.052704 [ 730 ] {5bc0935c-ab56-4798-99c6-5c25eecc78f8} executeQuery: Code: 131. DB::Exception: String too long for type FixedString(3): In scope SELECT CAST('12345', 'FixedString(3)'). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- But if it does not fit, an exception is thrown: SELECT CAST('12345' AS FixedString(3)) FORMAT TSV;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:100: COW::immutable_ptr DB::FunctionToFixedString::executeForN<(DB::ConvertToFixedStringExceptionMode)0>(std::vector> const&, unsigned long) @ 0x000000000afddb36 7. /build/src/Functions/FunctionsConversion.cpp:0: DB::(anonymous namespace)::FunctionCast::createFixedStringWrapper(std::shared_ptr const&, unsigned long) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad3ed6b 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3ece6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3ec80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3ec20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3ebc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:21:08.053731 [ 730 ] {5bc0935c-ab56-4798-99c6-5c25eecc78f8} TCPHandler: Code: 131. DB::Exception: String too long for type FixedString(3): In scope SELECT CAST('12345', 'FixedString(3)'). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:100: COW::immutable_ptr DB::FunctionToFixedString::executeForN<(DB::ConvertToFixedStringExceptionMode)0>(std::vector> const&, unsigned long) @ 0x000000000afddb36 7. /build/src/Functions/FunctionsConversion.cpp:0: DB::(anonymous namespace)::FunctionCast::createFixedStringWrapper(std::shared_ptr const&, unsigned long) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad3ed6b 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3ece6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3ec80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3ec20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3ebc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:21:08.567975 [ 730 ] {906767c7-0ff3-42a8-839c-394dc01868ed} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'String' in scope SELECT CAST(123, String). (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: SELECT CAST(123, String);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:21:08.727284 [ 1827 ] {7446ff56-34a8-4eb7-934b-48613abba0aa} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: In scope SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:58780) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x0000000012bad208 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:71: DB::getArraysDepths(std::vector> const&, char const*) @ 0x0000000012baca43 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bc9cd3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:08.727260 [ 730 ] {906767c7-0ff3-42a8-839c-394dc01868ed} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'String' in scope SELECT CAST(123, String). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:21:08.728339 [ 1827 ] {7446ff56-34a8-4eb7-934b-48613abba0aa} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: In scope SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x0000000012bad208 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:71: DB::getArraysDepths(std::vector> const&, char const*) @ 0x0000000012baca43 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bc9cd3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:08.747991 [ 1827 ] {f409d3d4-049c-4d4f-b6ae-29ab90b1d922} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: In scope SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:58780) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x0000000012bad208 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:71: DB::getArraysDepths(std::vector> const&, char const*) @ 0x0000000012baca43 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bc9cd3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:08.748780 [ 1827 ] {f409d3d4-049c-4d4f-b6ae-29ab90b1d922} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: In scope SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x0000000012bad208 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:71: DB::getArraysDepths(std::vector> const&, char const*) @ 0x0000000012baca43 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bc9cd3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:08.998219 [ 730 ] {880d74f0-3c37-453a-ab00-6787be4cbcb1} executeQuery: Code: 42. DB::Exception: Number of arguments for function _CAST doesn't match: passed 1, should be 2: In scope SELECT _CAST(123 AS UInt8). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- There is no operator form of this function: -- does not work, here UInt8 is interpreted as an alias for the value: SELECT _CAST(123 AS UInt8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:21:08.999293 [ 730 ] {880d74f0-3c37-453a-ab00-6787be4cbcb1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function _CAST doesn't match: passed 1, should be 2: In scope SELECT _CAST(123 AS UInt8). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:21:09.324898 [ 730 ] {e4055166-6628-47be-b2fa-dd7d90e0aaa1} executeQuery: Code: 72. DB::Exception: Unsigned type must not contain '-' symbol: Cannot parse UInt64 from String: In scope SELECT CAST('-1', 'UInt64'). (CANNOT_PARSE_NUMBER) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- We can change this behavior in the future. -- Another example: SELECT -1::UInt64;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:401: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b8bb 7. /build/src/IO/ReadHelpers.h:497: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b57d 8. /build/src/IO/ReadHelpers.h:1364: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b53d 9. /build/src/Functions/FunctionsConversion.cpp:648: void DB::(anonymous namespace)::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ab09cc8 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt64, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ab08f86 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab08aaf 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab037fb 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02bd8 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:21:09.325987 [ 730 ] {e4055166-6628-47be-b2fa-dd7d90e0aaa1} TCPHandler: Code: 72. DB::Exception: Unsigned type must not contain '-' symbol: Cannot parse UInt64 from String: In scope SELECT CAST('-1', 'UInt64'). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:401: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b8bb 7. /build/src/IO/ReadHelpers.h:497: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b57d 8. /build/src/IO/ReadHelpers.h:1364: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000af7b53d 9. /build/src/Functions/FunctionsConversion.cpp:648: void DB::(anonymous namespace)::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ab09cc8 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt64, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ab08f86 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab08aaf 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab037fb 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02bd8 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:21:09.632271 [ 730 ] {d874813c-28ed-4005-a124-3809ff65d480} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and String of arguments of function minus: In scope SELECT 1 - CAST('1', 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- The operator has the highest priority among others: SELECT 1-1::String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28fe9 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:09.633145 [ 730 ] {d874813c-28ed-4005-a124-3809ff65d480} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and String of arguments of function minus: In scope SELECT 1 - CAST('1', 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28fe9 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:21:09.841090 [ 730 ] {188658b0-4008-4bc8-8c0e-b13a4cad7857} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function negate: In scope SELECT 1 AS x, -CAST(x, 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- Here it is an operator: SELECT 1 AS x, -x::String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionUnaryArithmetic.h:332: DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010a6b15f 7. /build/src/Functions/FunctionUnaryArithmetic.h:260: DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010a6479a 8. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:21:09.842125 [ 730 ] {188658b0-4008-4bc8-8c0e-b13a4cad7857} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function negate: In scope SELECT 1 AS x, -CAST(x, 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionUnaryArithmetic.h:332: DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010a6b15f 7. /build/src/Functions/FunctionUnaryArithmetic.h:260: DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010a6479a 8. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:21:10.031712 [ 730 ] {270a553e-a104-4255-8172-263ed6f88f17} executeQuery: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type Float32: In scope SELECT accurateCast(1.123456789, 'Float32'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- 5. Accurate casting functions: `accurateCast`, `accurateCastOrNull`, `accurateCastOrDefault`. -- These functions check if the value is exactly representable in the target data type. -- The function `accurateCast` performs the conversion or throws an exception if the value is not exactly representable: SELECT accurateCast(1.123456789, 'Float32');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000abf7c50 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000abefcba 8. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000abeec00 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000abee831 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000abee786 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000abee720 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000abee6c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000abee66b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:21:10.032668 [ 730 ] {270a553e-a104-4255-8172-263ed6f88f17} TCPHandler: Code: 70. DB::Exception: Value in column Float64 cannot be safely converted into type Float32: In scope SELECT accurateCast(1.123456789, 'Float32'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000abf7c50 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000abefcba 8. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000abeec00 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000abee831 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000abee786 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000abee720 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000abee6c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000abee66b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:21:10.381164 [ 730 ] {7de98831-43d4-4232-938b-7586c549cb7d} executeQuery: Code: 46. DB::Exception: Function with name 'ACCURATECAST' does not exist. In scope SELECT ACCURATECAST(1, 'String'). Maybe you meant: ['accurateCast']. (UNKNOWN_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- Unfortunately, this does not work as expected: SELECT accurateCastOrDefault(-1, $$Enum8('None' = 1, 'Hello' = 2, 'World' = 3)$$); -- https://github.com/ClickHouse/ClickHouse/issues/61495 -- These functions are case-sensitive, and there are no corresponding operators: SELECT ACCURATECAST(1, 'String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:21:10.382111 [ 730 ] {7de98831-43d4-4232-938b-7586c549cb7d} TCPHandler: Code: 46. DB::Exception: Function with name 'ACCURATECAST' does not exist. In scope SELECT ACCURATECAST(1, 'String'). Maybe you meant: ['accurateCast']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:21:11.196504 [ 730 ] {7ed27183-73e1-45dc-a316-255ccd5cdabc} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument of function toUInt8OrNull. Conversion functions with postfix 'OrZero' or 'OrNull' should take String argument: In scope SELECT toUInt8OrNull(123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:58586) (comment: 03011_definitive_guide_to_cast.sql) (in query: -- These functions are only applicable to string data types. -- Although it is a room for extension: SELECT toUInt8OrNull(123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2405: DB::(anonymous namespace)::FunctionConvertFromString, DB::(anonymous namespace)::NameToUInt8OrNull, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)2, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aebe28c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:21:11.197362 [ 730 ] {7ed27183-73e1-45dc-a316-255ccd5cdabc} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument of function toUInt8OrNull. Conversion functions with postfix 'OrZero' or 'OrNull' should take String argument: In scope SELECT toUInt8OrNull(123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2405: DB::(anonymous namespace)::FunctionConvertFromString, DB::(anonymous namespace)::NameToUInt8OrNull, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)2, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aebe28c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:21:13.481061 [ 1827 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:21:17.817746 [ 1827 ] {5e53273c-fadc-4414-8ca7-3f51dfe1b269} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Variant(String, UInt64), UInt8) of function equals: In scope SELECT * FROM test WHERE v = 42. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:58830) (comment: 02990_variant_where_cond.sql) (in query: select * from test where v = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsComparison.h:1186: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d34a5d7 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:21:17.818839 [ 1827 ] {5e53273c-fadc-4414-8ca7-3f51dfe1b269} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Variant(String, UInt64), UInt8) of function equals: In scope SELECT * FROM test WHERE v = 42. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsComparison.h:1186: DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d34a5d7 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:21:25.537344 [ 1809 ] {4df3ad95-658f-4c56-9e9b-71c82c438b54} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 32 ('DROP'): DROP COLUMN c. Expected one of: ALTER command, token, OpeningRoundBracket: In scope SELECT formatQuery('ALTER TABLE a (DROP COLUMN b), DROP COLUMN c'). (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:35954) (comment: 02982_unambiguous_alter_commands.sql) (in query: SELECT formatQuery('ALTER TABLE a (DROP COLUMN b), DROP COLUMN c');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:21:25.538261 [ 1809 ] {4df3ad95-658f-4c56-9e9b-71c82c438b54} TCPHandler: Code: 62. DB::Exception: Syntax error: failed at position 32 ('DROP'): DROP COLUMN c. Expected one of: ALTER command, token, OpeningRoundBracket: In scope SELECT formatQuery('ALTER TABLE a (DROP COLUMN b), DROP COLUMN c'). (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:21:25.553762 [ 1809 ] {a5c55604-772f-4b9a-b414-f1e8f5d581cc} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 30 ('('): (DROP COLUMN c). Expected one of: ALTER command, ADD COLUMN, RENAME COLUMN, MATERIALIZE COLUMN, DROP PARTITION, DROP PART, FORGET PARTITION, DROP DETACHED PARTITION, DROP DETACHED PART, DROP COLUMN, CLEAR COLUMN, ADD INDEX, DROP INDEX, CLEAR INDEX, MATERIALIZE INDEX, ADD STATISTIC, DROP STATISTIC, CLEAR STATISTIC, MATERIALIZE STATISTIC, ADD PROJECTION, DROP PROJECTION, CLEAR PROJECTION, MATERIALIZE PROJECTION, MOVE PART, MOVE PARTITION, ADD CONSTRAINT, DROP CONSTRAINT, DETACH PARTITION, DETACH PART, ATTACH PARTITION, REPLACE PARTITION, ATTACH PART, FETCH PARTITION, FETCH PART, FREEZE, UNFREEZE, MODIFY COLUMN, ALTER COLUMN, MODIFY ORDER BY, MODIFY SAMPLE BY, REMOVE SAMPLE BY, DELETE, UPDATE, COMMENT COLUMN, MODIFY TTL, REMOVE TTL, MATERIALIZE TTL, MODIFY SETTING, RESET SETTING, MODIFY QUERY, MODIFY SQL SECURITY, MODIFY DEFINER, MODIFY REFRESH, MODIFY COMMENT, APPLY DELETED MASK: In scope SELECT formatQuery('ALTER TABLE a DROP COLUMN b, (DROP COLUMN c)'). (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:35954) (comment: 02982_unambiguous_alter_commands.sql) (in query: SELECT formatQuery('ALTER TABLE a DROP COLUMN b, (DROP COLUMN c)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:21:25.554561 [ 1809 ] {a5c55604-772f-4b9a-b414-f1e8f5d581cc} TCPHandler: Code: 62. DB::Exception: Syntax error: failed at position 30 ('('): (DROP COLUMN c). Expected one of: ALTER command, ADD COLUMN, RENAME COLUMN, MATERIALIZE COLUMN, DROP PARTITION, DROP PART, FORGET PARTITION, DROP DETACHED PARTITION, DROP DETACHED PART, DROP COLUMN, CLEAR COLUMN, ADD INDEX, DROP INDEX, CLEAR INDEX, MATERIALIZE INDEX, ADD STATISTIC, DROP STATISTIC, CLEAR STATISTIC, MATERIALIZE STATISTIC, ADD PROJECTION, DROP PROJECTION, CLEAR PROJECTION, MATERIALIZE PROJECTION, MOVE PART, MOVE PARTITION, ADD CONSTRAINT, DROP CONSTRAINT, DETACH PARTITION, DETACH PART, ATTACH PARTITION, REPLACE PARTITION, ATTACH PART, FETCH PARTITION, FETCH PART, FREEZE, UNFREEZE, MODIFY COLUMN, ALTER COLUMN, MODIFY ORDER BY, MODIFY SAMPLE BY, REMOVE SAMPLE BY, DELETE, UPDATE, COMMENT COLUMN, MODIFY TTL, REMOVE TTL, MATERIALIZE TTL, MODIFY SETTING, RESET SETTING, MODIFY QUERY, MODIFY SQL SECURITY, MODIFY DEFINER, MODIFY REFRESH, MODIFY COMMENT, APPLY DELETED MASK: In scope SELECT formatQuery('ALTER TABLE a DROP COLUMN b, (DROP COLUMN c)'). (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:21:33.858798 [ 1583 ] {1ae6f77f-64c9-4966-8e04-628888b0921f} executeQuery: Code: 36. DB::Exception: Unsupported value 2 of the `function_visible_width_behavior` setting: In scope SELECT visibleWidth('ClickHouse是一个很好的数æ®åº“') SETTINGS function_visible_width_behavior = 2. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59026) (comment: 02970_visible_width_behavior.sql) (in query: SELECT visibleWidth('ClickHouse是一个很好的数æ®åº“') SETTINGS function_visible_width_behavior = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b6db593 6. /build/src/Functions/visibleWidth.cpp:94: DB::FunctionVisibleWidth::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012012aa7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:21:33.859682 [ 1583 ] {1ae6f77f-64c9-4966-8e04-628888b0921f} TCPHandler: Code: 36. DB::Exception: Unsupported value 2 of the `function_visible_width_behavior` setting: In scope SELECT visibleWidth('ClickHouse是一个很好的数æ®åº“') SETTINGS function_visible_width_behavior = 2. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b6db593 6. /build/src/Functions/visibleWidth.cpp:94: DB::FunctionVisibleWidth::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012012aa7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:21:37.635230 [ 730 ] {a2f27a4d-6d51-4fc7-91de-2e7d600b34d7} AsynchronousInsertQueue: Setting 'async_insert_busy_timeout_min_ms'=500 is greater than 'async_insert_busy_timeout_max_ms'=100. Ignoring 'async_insert_busy_timeout_min_ms' 2025.03.05 21:21:38.044908 [ 730 ] {5119d629-687a-4784-abbe-84158cf881c4} executeQuery: Code: 471. DB::Exception: Setting 'async_insert_busy_timeout_increase_rate' must be greater than zero. (INVALID_SETTING_VALUE) (version 24.3.12.76.altinitystable) (from [::1]:59062) (comment: 02968_adaptive_async_insert_timeout.sql) (in query: INSERT INTO async_insert_mt_test SETTINGS async_insert=1, wait_for_async_insert=1, async_insert_busy_timeout_increase_rate=-1.0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:551: DB::AsynchronousInsertQueue::validateSettings(DB::Settings const&, std::shared_ptr) @ 0x000000001a4e56ba 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:372: DB::AsynchronousInsertQueue::pushDataChunk(std::shared_ptr, DB::AsynchronousInsertQueue::DataChunk, std::shared_ptr) @ 0x000000001a4e2b6b 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:357: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e29e0 9. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:38.046232 [ 730 ] {5119d629-687a-4784-abbe-84158cf881c4} TCPHandler: Code: 471. DB::Exception: Setting 'async_insert_busy_timeout_increase_rate' must be greater than zero. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:551: DB::AsynchronousInsertQueue::validateSettings(DB::Settings const&, std::shared_ptr) @ 0x000000001a4e56ba 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:372: DB::AsynchronousInsertQueue::pushDataChunk(std::shared_ptr, DB::AsynchronousInsertQueue::DataChunk, std::shared_ptr) @ 0x000000001a4e2b6b 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:357: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e29e0 9. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:38.178950 [ 730 ] {704d10df-d75e-4c91-b989-d99a25542e3a} executeQuery: Code: 471. DB::Exception: Setting 'async_insert_busy_timeout_decrease_rate' must be greater than zero. (INVALID_SETTING_VALUE) (version 24.3.12.76.altinitystable) (from [::1]:59062) (comment: 02968_adaptive_async_insert_timeout.sql) (in query: INSERT INTO async_insert_mt_test SETTINGS async_insert=1, wait_for_async_insert=1, async_insert_busy_timeout_decrease_rate=-1.0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:554: DB::AsynchronousInsertQueue::validateSettings(DB::Settings const&, std::shared_ptr) @ 0x000000001a4e57a2 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:372: DB::AsynchronousInsertQueue::pushDataChunk(std::shared_ptr, DB::AsynchronousInsertQueue::DataChunk, std::shared_ptr) @ 0x000000001a4e2b6b 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:357: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e29e0 9. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:38.336239 [ 1580 ] {571f2480-fca4-4e7b-b2f1-a0afb54c6b8a} executeQuery: Code: 137. DB::Exception: MetadataStorageFactory: unknown metadata storage type: lll: While processing disk(name = 'test3', type = object_storage, object_storage_type = s3, metadata_type = lll, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:59072) (comment: 02963_test_flexible_disk_configuration.sql) (in query: CREATE TABLE test (`a` Int32) ENGINE = MergeTree ORDER BY tuple() SETTINGS disk = disk(name = 'test3', type = object_storage, object_storage_type = s3, metadata_type = lll, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse), index_granularity = 26940, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = true, max_file_name_length = 51, min_bytes_for_full_part_storage = 105897972, compact_parts_max_bytes_to_buffer = 363849497, compact_parts_max_granules_to_buffer = 1, compact_parts_merge_max_bytes_to_prefetch_part = 17368572, merge_max_block_size = 8978, old_parts_lifetime = 48., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 654659, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 9130247, concurrent_part_removal_threshold = 100, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 59728, primary_key_compress_block_size = 28519), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Disks/DiskType.cpp:22: DB::metadataTypeFromString(String const&) @ 0x000000001a2f040f 7. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:49: DB::(anonymous namespace)::isPlainStorage(DB::ObjectStorageType, Poco::Util::AbstractConfiguration const&, String const&) @ 0x000000001a3619e7 8. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:59: std::shared_ptr DB::(anonymous namespace)::createObjectStorage>, std::unique_ptr>, DB::S3::URI&, DB::S3Capabilities&, std::shared_ptr&, String const&>(DB::ObjectStorageType, Poco::Util::AbstractConfiguration const&, String const&, std::unique_ptr>&&, std::unique_ptr>&&, DB::S3::URI&, DB::S3Capabilities&, std::shared_ptr&, String const&) @ 0x000000001a36101b 9. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:167: DB::registerS3ObjectStorage(DB::ObjectStorageFactory&)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a360b98 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a3609a5 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a36093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a3608dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a360889 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a366746 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a363f01 16. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:114: DB::ObjectStorageFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a360073 17. /build/src/Disks/ObjectStorages/RegisterDiskObjectStorage.cpp:27: DB::registerDiskObjectStorage(DB::DiskFactory&, bool)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a35f244 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a35f0dd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a35f017 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a35ef97 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a35ef0c 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a2e7ca8 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a2e540b 24. /build/src/Disks/DiskFactory.cpp:42: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e511e 25. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 2025.03.05 21:21:38.336221 [ 730 ] {704d10df-d75e-4c91-b989-d99a25542e3a} TCPHandler: Code: 471. DB::Exception: Setting 'async_insert_busy_timeout_decrease_rate' must be greater than zero. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:554: DB::AsynchronousInsertQueue::validateSettings(DB::Settings const&, std::shared_ptr) @ 0x000000001a4e57a2 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:372: DB::AsynchronousInsertQueue::pushDataChunk(std::shared_ptr, DB::AsynchronousInsertQueue::DataChunk, std::shared_ptr) @ 0x000000001a4e2b6b 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:357: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e29e0 9. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:38.337353 [ 1580 ] {571f2480-fca4-4e7b-b2f1-a0afb54c6b8a} TCPHandler: Code: 137. DB::Exception: MetadataStorageFactory: unknown metadata storage type: lll: While processing disk(name = 'test3', type = object_storage, object_storage_type = s3, metadata_type = lll, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Disks/DiskType.cpp:22: DB::metadataTypeFromString(String const&) @ 0x000000001a2f040f 7. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:49: DB::(anonymous namespace)::isPlainStorage(DB::ObjectStorageType, Poco::Util::AbstractConfiguration const&, String const&) @ 0x000000001a3619e7 8. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:59: std::shared_ptr DB::(anonymous namespace)::createObjectStorage>, std::unique_ptr>, DB::S3::URI&, DB::S3Capabilities&, std::shared_ptr&, String const&>(DB::ObjectStorageType, Poco::Util::AbstractConfiguration const&, String const&, std::unique_ptr>&&, std::unique_ptr>&&, DB::S3::URI&, DB::S3Capabilities&, std::shared_ptr&, String const&) @ 0x000000001a36101b 9. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:167: DB::registerS3ObjectStorage(DB::ObjectStorageFactory&)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a360b98 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a3609a5 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a36093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a3608dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a360889 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a366746 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a363f01 16. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:114: DB::ObjectStorageFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a360073 17. /build/src/Disks/ObjectStorages/RegisterDiskObjectStorage.cpp:27: DB::registerDiskObjectStorage(DB::DiskFactory&, bool)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a35f244 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a35f0dd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a35f017 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a35ef97 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a35ef0c 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a2e7ca8 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a2e540b 24. /build/src/Disks/DiskFactory.cpp:42: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e511e 25. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 2025.03.05 21:21:38.600661 [ 1580 ] {763fe2ca-b699-4770-88b1-6861fe1cced3} executeQuery: Code: 137. DB::Exception: ObjectStorageFactory: unknown object storage type: kkk: While processing disk(name = 'test4', type = object_storage, object_storage_type = kkk, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:59072) (comment: 02963_test_flexible_disk_configuration.sql) (in query: CREATE TABLE test (`a` Int32) ENGINE = MergeTree ORDER BY tuple() SETTINGS disk = disk(name = 'test4', type = object_storage, object_storage_type = kkk, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse), index_granularity = 26940, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = true, max_file_name_length = 51, min_bytes_for_full_part_storage = 105897972, compact_parts_max_bytes_to_buffer = 363849497, compact_parts_max_granules_to_buffer = 1, compact_parts_merge_max_bytes_to_prefetch_part = 17368572, merge_max_block_size = 8978, old_parts_lifetime = 48., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 654659, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 9130247, concurrent_part_removal_threshold = 100, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 59728, primary_key_compress_block_size = 28519), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:110: DB::ObjectStorageFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a35fff1 7. /build/src/Disks/ObjectStorages/RegisterDiskObjectStorage.cpp:27: DB::registerDiskObjectStorage(DB::DiskFactory&, bool)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a35f244 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a35f0dd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a35f017 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a35ef97 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a35ef0c 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a2e7ca8 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a2e540b 14. /build/src/Disks/DiskFactory.cpp:42: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e511e 15. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 22. /build/src/Interpreters/Context.cpp:4104: DB::Context::getOrCreateDisk(String const&, std::function (std::map, std::less, std::allocator>>> const&)>) const @ 0x000000001a55c29b 23. /build/src/Disks/getOrCreateDiskFromAST.cpp:48: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool) @ 0x000000001cf19d1f 24. /build/src/Disks/getOrCreateDiskFromAST.cpp:95: DB::(anonymous namespace)::DiskConfigurationFlattener::visit(std::shared_ptr&, DB::(anonymous namespace)::DiskConfigurationFlattener::Data&) @ 0x000000001cf198a8 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cf19700 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cf1a8ce 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cf195ca 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cf194a5 29. /build/src/Disks/getOrCreateDiskFromAST.cpp:114: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001cf18a11 30. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:67: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr, bool) @ 0x000000001ceb0505 31. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:610: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e266c 2025.03.05 21:21:38.601984 [ 1580 ] {763fe2ca-b699-4770-88b1-6861fe1cced3} TCPHandler: Code: 137. DB::Exception: ObjectStorageFactory: unknown object storage type: kkk: While processing disk(name = 'test4', type = object_storage, object_storage_type = kkk, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Disks/ObjectStorages/ObjectStorageFactory.cpp:110: DB::ObjectStorageFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr const&, bool) const @ 0x000000001a35fff1 7. /build/src/Disks/ObjectStorages/RegisterDiskObjectStorage.cpp:27: DB::registerDiskObjectStorage(DB::DiskFactory&, bool)::$_0::operator()(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a35f244 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a35f0dd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a35f017 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a35ef97 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a35ef0c 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a2e7ca8 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a2e540b 14. /build/src/Disks/DiskFactory.cpp:42: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e511e 15. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 22. /build/src/Interpreters/Context.cpp:4104: DB::Context::getOrCreateDisk(String const&, std::function (std::map, std::less, std::allocator>>> const&)>) const @ 0x000000001a55c29b 23. /build/src/Disks/getOrCreateDiskFromAST.cpp:48: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool) @ 0x000000001cf19d1f 24. /build/src/Disks/getOrCreateDiskFromAST.cpp:95: DB::(anonymous namespace)::DiskConfigurationFlattener::visit(std::shared_ptr&, DB::(anonymous namespace)::DiskConfigurationFlattener::Data&) @ 0x000000001cf198a8 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cf19700 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cf1a8ce 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cf195ca 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cf194a5 29. /build/src/Disks/getOrCreateDiskFromAST.cpp:114: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001cf18a11 30. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:67: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr, bool) @ 0x000000001ceb0505 31. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:610: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e266c 2025.03.05 21:21:38.903870 [ 1580 ] {11519957-e001-45c6-b349-56669a48b6eb} executeQuery: Code: 137. DB::Exception: DiskFactory: the disk 'test5' has unknown disk type: kkk: While processing disk(name = 'test5', type = kkk, object_storage_type = s3, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:59072) (comment: 02963_test_flexible_disk_configuration.sql) (in query: CREATE TABLE test (`a` Int32) ENGINE = MergeTree ORDER BY tuple() SETTINGS disk = disk(name = 'test5', type = kkk, object_storage_type = s3, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse), index_granularity = 26940, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = true, max_file_name_length = 51, min_bytes_for_full_part_storage = 105897972, compact_parts_max_bytes_to_buffer = 363849497, compact_parts_max_granules_to_buffer = 1, compact_parts_merge_max_bytes_to_prefetch_part = 17368572, merge_max_block_size = 8978, old_parts_lifetime = 48., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 654659, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 9130247, concurrent_part_removal_threshold = 100, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 59728, primary_key_compress_block_size = 28519), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/Disks/DiskFactory.cpp:37: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e4fa9 7. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 14. /build/src/Interpreters/Context.cpp:4104: DB::Context::getOrCreateDisk(String const&, std::function (std::map, std::less, std::allocator>>> const&)>) const @ 0x000000001a55c29b 15. /build/src/Disks/getOrCreateDiskFromAST.cpp:48: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool) @ 0x000000001cf19d1f 16. /build/src/Disks/getOrCreateDiskFromAST.cpp:95: DB::(anonymous namespace)::DiskConfigurationFlattener::visit(std::shared_ptr&, DB::(anonymous namespace)::DiskConfigurationFlattener::Data&) @ 0x000000001cf198a8 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cf19700 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cf1a8ce 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cf195ca 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cf194a5 21. /build/src/Disks/getOrCreateDiskFromAST.cpp:114: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001cf18a11 22. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:67: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr, bool) @ 0x000000001ceb0505 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:610: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e266c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 30. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 2025.03.05 21:21:38.905290 [ 1580 ] {11519957-e001-45c6-b349-56669a48b6eb} TCPHandler: Code: 137. DB::Exception: DiskFactory: the disk 'test5' has unknown disk type: kkk: While processing disk(name = 'test5', type = kkk, object_storage_type = s3, metadata_type = local, endpoint = 'http://localhost:11111/test/common/', access_key_id = clickhouse, secret_access_key = clickhouse). (UNKNOWN_ELEMENT_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/Disks/DiskFactory.cpp:37: DB::DiskFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::map, std::less, std::allocator>>> const&, bool, bool) const @ 0x000000001a2e4fa9 7. /build/src/Disks/getOrCreateDiskFromAST.cpp:49: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool)::$_0::operator()(std::map, std::less, std::allocator>>> const&) const @ 0x000000001cf1a5e2 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001cf1a4fd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001cf1a4bd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001cf1a47d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001cf1a448 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a5c145e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a572f7d 14. /build/src/Interpreters/Context.cpp:4104: DB::Context::getOrCreateDisk(String const&, std::function (std::map, std::less, std::allocator>>> const&)>) const @ 0x000000001a55c29b 15. /build/src/Disks/getOrCreateDiskFromAST.cpp:48: DB::(anonymous namespace)::getOrCreateDiskFromDiskAST(DB::ASTFunction const&, std::shared_ptr, bool) @ 0x000000001cf19d1f 16. /build/src/Disks/getOrCreateDiskFromAST.cpp:95: DB::(anonymous namespace)::DiskConfigurationFlattener::visit(std::shared_ptr&, DB::(anonymous namespace)::DiskConfigurationFlattener::Data&) @ 0x000000001cf198a8 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cf19700 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cf1a8ce 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cf195ca 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cf194a5 21. /build/src/Disks/getOrCreateDiskFromAST.cpp:114: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001cf18a11 22. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:67: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr, bool) @ 0x000000001ceb0505 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:610: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e266c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 30. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 2025.03.05 21:21:41.248281 [ 730 ] {c097971e-9620-4792-83d0-4aad79ed3279} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW) (version 24.3.12.76.altinitystable) (from [::1]:41846) (comment: 02963_msan_agg_addBatchLookupTable8.sql) (in query: -- https://github.com/ClickHouse/ClickHouse/issues/58727 SELECT number % 2 AS even, aggThrow(number) FROM numbers(10) GROUP BY even;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000015c97147 7. /build/src/Interpreters/Aggregator.cpp:849: void DB::Aggregator::createAggregateStates(char*&) const @ 0x000000001a7c59a6 8. /build/src/Interpreters/Aggregator.cpp:1126: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const::'lambda'(char*&)::operator()(char*&) const @ 0x000000001a923186 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a92311d 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a9230dd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a92309d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a923065 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000013774c9e 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000013774c5d 15. /build/src/AggregateFunctions/IAggregateFunction.h:798: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x0000000015c982e1 16. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 17. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 18. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 19. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 20. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:21:41.251037 [ 730 ] {c097971e-9620-4792-83d0-4aad79ed3279} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000015c97147 7. /build/src/Interpreters/Aggregator.cpp:849: void DB::Aggregator::createAggregateStates(char*&) const @ 0x000000001a7c59a6 8. /build/src/Interpreters/Aggregator.cpp:1126: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const::'lambda'(char*&)::operator()(char*&) const @ 0x000000001a923186 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a92311d 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a9230dd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a92309d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a923065 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000013774c9e 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000013774c5d 15. /build/src/AggregateFunctions/IAggregateFunction.h:798: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x0000000015c982e1 16. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 17. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 18. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 19. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 20. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 22. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:21:42.913955 [ 1742 ] {22a49fc3-0f46-4a06-a975-bd283bb1610c} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 27. DB::Exception: Cannot parse input: expected 'true' before: '}': (while reading the value of key x): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:378: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a058439 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 (version 24.3.12.76.altinitystable) 2025.03.05 21:21:42.917264 [ 1809 ] {22a49fc3-0f46-4a06-a975-bd283bb1610c} executeQuery: Code: 27. DB::Exception: Cannot parse input: expected 'true' before: '}': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:41880) (comment: 02961_read_bool_as_string_json.sql) (in query: select * from format(JSONEachRow, 'x String', '{"x" : tru}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:378: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a058439 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 2025.03.05 21:21:42.918484 [ 1809 ] {22a49fc3-0f46-4a06-a975-bd283bb1610c} TCPHandler: Code: 27. DB::Exception: Cannot parse input: expected 'true' before: '}': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:378: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a058439 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 2025.03.05 21:21:43.109771 [ 1740 ] {0386ae87-e638-4514-a06a-a027731a2f22} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 27. DB::Exception: Cannot parse input: expected 'false' before: '}': (while reading the value of key x): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:383: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0584bd 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 (version 24.3.12.76.altinitystable) 2025.03.05 21:21:43.112224 [ 1809 ] {0386ae87-e638-4514-a06a-a027731a2f22} executeQuery: Code: 27. DB::Exception: Cannot parse input: expected 'false' before: '}': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:41880) (comment: 02961_read_bool_as_string_json.sql) (in query: select * from format(JSONEachRow, 'x String', '{"x" : fals}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:383: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0584bd 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 2025.03.05 21:21:43.113221 [ 1809 ] {0386ae87-e638-4514-a06a-a027731a2f22} TCPHandler: Code: 27. DB::Exception: Cannot parse input: expected 'false' before: '}': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.cpp:130: DB::assertString(char const*, DB::ReadBuffer&) @ 0x00000000133677d5 8. /build/src/DataTypes/Serializations/SerializationString.cpp:383: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0584bd 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 13. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 14. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 15. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 16. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 17. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 18. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 22. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 2025.03.05 21:21:43.327038 [ 1692 ] {3454d820-50df-4c56-b023-b80d8f18d2ef} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 117. DB::Exception: Cannot read JSON field here: 'atru}'. Unexpected symbol 'a': (while reading the value of key x): (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/IO/ReadHelpers.cpp:1509: void DB::skipJSONFieldImpl(DB::ReadBuffer&, StringRef) @ 0x000000001337c6cf 7. /build/src/IO/ReadHelpers.cpp:1525: DB::skipJSONField(DB::ReadBuffer&, StringRef) @ 0x0000000013368ad5 8. /build/src/IO/ReadHelpers.cpp:1947: DB::readJSONField(String&, DB::ReadBuffer&)::$_0::operator()(DB::ReadBuffer&) const @ 0x000000001336dfb9 9. /build/src/IO/ReadHelpers.cpp:1748: void DB::readParsedValueInto(String&, DB::ReadBuffer&, DB::readJSONField(String&, DB::ReadBuffer&)::$_0) @ 0x0000000013369c64 10. /build/src/IO/ReadHelpers.cpp:1949: DB::readJSONField(String&, DB::ReadBuffer&) @ 0x0000000013369b2f 11. /build/src/DataTypes/Serializations/SerializationString.cpp:392: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0585cc 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 14. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 15. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 16. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 17. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 18. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 19. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 20. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 21. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 25. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 26. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 (version 24.3.12.76.altinitystable) 2025.03.05 21:21:43.329363 [ 1809 ] {3454d820-50df-4c56-b023-b80d8f18d2ef} executeQuery: Code: 117. DB::Exception: Cannot read JSON field here: 'atru}'. Unexpected symbol 'a': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:41880) (comment: 02961_read_bool_as_string_json.sql) (in query: select * from format(JSONEachRow, 'x String', '{"x" : atru}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/IO/ReadHelpers.cpp:1509: void DB::skipJSONFieldImpl(DB::ReadBuffer&, StringRef) @ 0x000000001337c6cf 7. /build/src/IO/ReadHelpers.cpp:1525: DB::skipJSONField(DB::ReadBuffer&, StringRef) @ 0x0000000013368ad5 8. /build/src/IO/ReadHelpers.cpp:1947: DB::readJSONField(String&, DB::ReadBuffer&)::$_0::operator()(DB::ReadBuffer&) const @ 0x000000001336dfb9 9. /build/src/IO/ReadHelpers.cpp:1748: void DB::readParsedValueInto(String&, DB::ReadBuffer&, DB::readJSONField(String&, DB::ReadBuffer&)::$_0) @ 0x0000000013369c64 10. /build/src/IO/ReadHelpers.cpp:1949: DB::readJSONField(String&, DB::ReadBuffer&) @ 0x0000000013369b2f 11. /build/src/DataTypes/Serializations/SerializationString.cpp:392: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0585cc 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 14. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 15. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 16. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 17. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 18. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 19. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 20. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 21. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 25. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 26. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:21:43.330164 [ 1809 ] {3454d820-50df-4c56-b023-b80d8f18d2ef} TCPHandler: Code: 117. DB::Exception: Cannot read JSON field here: 'atru}'. Unexpected symbol 'a': (while reading the value of key x): (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/IO/ReadHelpers.cpp:1509: void DB::skipJSONFieldImpl(DB::ReadBuffer&, StringRef) @ 0x000000001337c6cf 7. /build/src/IO/ReadHelpers.cpp:1525: DB::skipJSONField(DB::ReadBuffer&, StringRef) @ 0x0000000013368ad5 8. /build/src/IO/ReadHelpers.cpp:1947: DB::readJSONField(String&, DB::ReadBuffer&)::$_0::operator()(DB::ReadBuffer&) const @ 0x000000001336dfb9 9. /build/src/IO/ReadHelpers.cpp:1748: void DB::readParsedValueInto(String&, DB::ReadBuffer&, DB::readJSONField(String&, DB::ReadBuffer&)::$_0) @ 0x0000000013369c64 10. /build/src/IO/ReadHelpers.cpp:1949: DB::readJSONField(String&, DB::ReadBuffer&) @ 0x0000000013369b2f 11. /build/src/DataTypes/Serializations/SerializationString.cpp:392: DB::SerializationString::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a0585cc 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:852: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a028fa0 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&, void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a0212a9 14. /build/src/DataTypes/Serializations/SerializationNullable.cpp:854: void DB::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022c8e 15. /build/src/DataTypes/Serializations/SerializationNullable.cpp:876: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a020191 16. /build/src/Formats/JSONUtils.cpp:292: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001d71d73b 17. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:137: DB::JSONEachRowRowInputFormat::readField(unsigned long, std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c1e7 18. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:187: DB::JSONEachRowRowInputFormat::readJSONObject(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&) @ 0x000000001d73c49d 19. /build/src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:219: DB::JSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d73c653 20. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 21. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 25. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 26. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:21:53.059656 [ 1809 ] {c3616e7e-ca23-48a9-8207-b4da191cb534} executeQuery: Code: 290. DB::Exception: Maximum limit of 3 projection(s) exceeded. (LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:51138) (comment: 02934_merge_tree_max_projections.sql) (in query: ALTER TABLE test_max_mt_projections_alter ADD PROJECTION p4 (SELECT c2, c3 ORDER BY c2, c3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:53.060548 [ 1809 ] {c3616e7e-ca23-48a9-8207-b4da191cb534} TCPHandler: Code: 290. DB::Exception: Maximum limit of 3 projection(s) exceeded. (LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:53.668623 [ 1809 ] {7a6f923f-6495-4046-ba63-bb2fa5f18934} executeQuery: Code: 290. DB::Exception: Maximum limit of 1 projection(s) exceeded. (LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:51138) (comment: 02934_merge_tree_max_projections.sql) (in query: CREATE TABLE test_max_mt_projections_create (`c1` UInt32, `c2` UInt32, PROJECTION p1 (SELECT c1, c2 ORDER BY c2), PROJECTION p2 (SELECT c2 ORDER BY c2)) ENGINE = MergeTree ORDER BY c1 SETTINGS max_projections = 1, index_granularity = 8601, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = true, max_file_name_length = 128, min_bytes_for_full_part_storage = 60780176, compact_parts_max_bytes_to_buffer = 455634318, compact_parts_max_granules_to_buffer = 107, compact_parts_merge_max_bytes_to_prefetch_part = 24234109, merge_max_block_size = 5381, old_parts_lifetime = 462., prefer_fetch_merged_part_size_threshold = 8374362460, vertical_merge_algorithm_min_rows_to_activate = 489199, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10649474734, index_granularity_bytes = 11074413, concurrent_part_removal_threshold = 19, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 26537, primary_key_compress_block_size = 49105), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 9. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 22. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 26. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:21:53.669696 [ 1809 ] {7a6f923f-6495-4046-ba63-bb2fa5f18934} TCPHandler: Code: 290. DB::Exception: Maximum limit of 1 projection(s) exceeded. (LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 9. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 22. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 26. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:21:53.715921 [ 1809 ] {29de6f89-80fd-414a-828d-9ffd94d5d6ee} executeQuery: Code: 290. DB::Exception: Maximum limit of 0 projection(s) exceeded. (LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:51138) (comment: 02934_merge_tree_max_projections.sql) (in query: CREATE TABLE test_max_mt_projections_create (`c1` UInt32, `c2` UInt32, PROJECTION p (SELECT c1, c2 ORDER BY c2)) ENGINE = MergeTree ORDER BY c1 SETTINGS max_projections = 0, index_granularity = 8601, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = true, max_file_name_length = 128, min_bytes_for_full_part_storage = 60780176, compact_parts_max_bytes_to_buffer = 455634318, compact_parts_max_granules_to_buffer = 107, compact_parts_merge_max_bytes_to_prefetch_part = 24234109, merge_max_block_size = 5381, old_parts_lifetime = 462., prefer_fetch_merged_part_size_threshold = 8374362460, vertical_merge_algorithm_min_rows_to_activate = 489199, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10649474734, index_granularity_bytes = 11074413, concurrent_part_removal_threshold = 19, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 26537, primary_key_compress_block_size = 49105), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 9. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 22. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 26. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:21:53.716879 [ 1809 ] {29de6f89-80fd-414a-828d-9ffd94d5d6ee} TCPHandler: Code: 290. DB::Exception: Maximum limit of 0 projection(s) exceeded. (LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 9. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 22. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 26. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:21:53.819061 [ 1809 ] {07b74b98-4e80-4c60-b479-4c2ecc9fb46d} executeQuery: Code: 290. DB::Exception: Maximum limit of 1 projection(s) exceeded. (LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:51138) (comment: 02934_merge_tree_max_projections.sql) (in query: ALTER TABLE test_max_mt_projections_create ADD PROJECTION p2 (SELECT c2 ORDER BY c2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:21:53.819903 [ 1809 ] {07b74b98-4e80-4c60-b479-4c2ecc9fb46d} TCPHandler: Code: 290. DB::Exception: Maximum limit of 1 projection(s) exceeded. (LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001a57d233 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:678: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb4e3b 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:00.710889 [ 3660 ] {5ea8ef2d-55e7-47fc-a932-158a056d7680} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(any, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: SELECT first_value_respect_nullsMerge(t) FROM (Select first_valueState(number) as t from numbers(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.711834 [ 3660 ] {5ea8ef2d-55e7-47fc-a932-158a056d7680} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(any, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.732262 [ 3660 ] {98fdbafd-7d23-4065-baa1-2f78e863b5c3} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(anyLast_respect_nulls, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: anyLast_respect_nulls instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: SELECT first_value_respect_nullsMerge(t) FROM (Select last_value_respect_nullsState(number) as t from numbers(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.733108 [ 3660 ] {98fdbafd-7d23-4065-baa1-2f78e863b5c3} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(anyLast_respect_nulls, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: anyLast_respect_nulls instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.755171 [ 3660 ] {6dd74063-1937-4b1d-bc95-5ad2c57df9fa} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(any_respect_nulls, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any_respect_nulls instead of anyLast_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: SELECT last_value_respect_nullsMerge(t) FROM (Select first_value_respect_nullsState(number) as t from numbers(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.755951 [ 3660 ] {6dd74063-1937-4b1d-bc95-5ad2c57df9fa} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(any_respect_nulls, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any_respect_nulls instead of anyLast_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.775629 [ 3660 ] {3c86a4b0-ff0b-47cf-ab43-d4739beb3085} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(any, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: SELECT first_value_respect_nullsMerge(CAST(unhex('00'), 'AggregateFunction(any, UInt64)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:00.776334 [ 3660 ] {3c86a4b0-ff0b-47cf-ab43-d4739beb3085} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(any, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: any instead of any_respect_nulls. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:01.012974 [ 3660 ] {6fcd13d3-4880-4ed1-9a24-fde15f43899a} executeQuery: Code: 117. DB::Exception: Incorrect type (0) in any_respect_nullsState: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('00'), 'AggregateFunction(any_respect_nulls, UInt64)')). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: -- Invalid (starts at 1) SELECT first_value_respect_nullsMerge(CAST(unhex('00'), 'AggregateFunction(any_respect_nulls, UInt64)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8), std::basic_string, std::basic_string::allocator>>(int, FormatStringHelperImpl::type, std::basic_string::type_identity, std::basic_string::allocator>>::type>, std::basic_string::type_identity<_BitInt(8)>&&, std::basic_string::type_identity, std::basic_string::allocator>>&&) @ 0x00000000149c772c 6. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:171: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c21bd 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:22:01.013924 [ 3660 ] {6fcd13d3-4880-4ed1-9a24-fde15f43899a} TCPHandler: Code: 117. DB::Exception: Incorrect type (0) in any_respect_nullsState: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('00'), 'AggregateFunction(any_respect_nulls, UInt64)')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8), std::basic_string, std::basic_string::allocator>>(int, FormatStringHelperImpl::type, std::basic_string::type_identity, std::basic_string::allocator>>::type>, std::basic_string::type_identity<_BitInt(8)>&&, std::basic_string::type_identity, std::basic_string::allocator>>&&) @ 0x00000000149c772c 6. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:171: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c21bd 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:22:01.334837 [ 3660 ] {48cbe16b-0100-45f5-8471-e413d849aa49} executeQuery: Code: 117. DB::Exception: Incorrect type (NULL) in non-nullable any_respect_nullsState: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('02'), 'AggregateFunction(any_respect_nulls, UInt64)')). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: -- Set to NULL SELECT first_value_respect_nullsMerge(CAST(unhex('02'), 'AggregateFunction(any_respect_nulls, UInt64)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:163: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c166d 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:22:01.335737 [ 3660 ] {48cbe16b-0100-45f5-8471-e413d849aa49} TCPHandler: Code: 117. DB::Exception: Incorrect type (NULL) in non-nullable any_respect_nullsState: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('02'), 'AggregateFunction(any_respect_nulls, UInt64)')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:163: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c166d 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:22:01.635968 [ 3660 ] {524cd64f-aca5-462c-8978-63f07950e7c5} executeQuery: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 8.: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('03'), 'AggregateFunction(any_respect_nulls, UInt64)')). (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:50964) (comment: 02922_respect_nulls_states.sql) (in query: -- Set to other value, but without providing value SELECT first_value_respect_nullsMerge(CAST(unhex('03'), 'AggregateFunction(any_respect_nulls, UInt64)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/IO/ReadHelpers.h:118: void DB::readPODBinary(unsigned long&, DB::ReadBuffer&) @ 0x00000000136e0f42 8. /build/src/IO/ReadHelpers.h:1303: void DB::readBinary(unsigned long&, DB::ReadBuffer&) @ 0x00000000136c115d 9. /build/src/IO/ReadHelpers.h:1340: void DB::readBinaryEndian<(std::endian)57005, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000001378fe5d 10. /build/src/IO/ReadHelpers.h:1347: void DB::readBinaryLittleEndian(unsigned long&, DB::ReadBuffer&) @ 0x000000001378fe1d 11. /build/src/DataTypes/Serializations/SerializationNumber.cpp:181: DB::SerializationNumber::deserializeBinary(DB::Field&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a02cd85 12. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:168: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c1f67 13. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 14. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 15. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 16. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 23. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 24. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 25. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 26. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 27. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 28. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 29. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:22:01.636743 [ 3660 ] {524cd64f-aca5-462c-8978-63f07950e7c5} TCPHandler: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 8.: In scope SELECT first_value_respect_nullsMerge(CAST(unhex('03'), 'AggregateFunction(any_respect_nulls, UInt64)')). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/IO/ReadHelpers.h:118: void DB::readPODBinary(unsigned long&, DB::ReadBuffer&) @ 0x00000000136e0f42 8. /build/src/IO/ReadHelpers.h:1303: void DB::readBinary(unsigned long&, DB::ReadBuffer&) @ 0x00000000136c115d 9. /build/src/IO/ReadHelpers.h:1340: void DB::readBinaryEndian<(std::endian)57005, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000001378fe5d 10. /build/src/IO/ReadHelpers.h:1347: void DB::readBinaryLittleEndian(unsigned long&, DB::ReadBuffer&) @ 0x000000001378fe1d 11. /build/src/DataTypes/Serializations/SerializationNumber.cpp:181: DB::SerializationNumber::deserializeBinary(DB::Field&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a02cd85 12. /build/src/AggregateFunctions/AggregateFunctionAnyRespectNulls.cpp:168: DB::(anonymous namespace)::AggregateFunctionAnyRespectNulls::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000149c1f67 13. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 14. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 15. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 16. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 23. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 24. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 25. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 26. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 27. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 28. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 29. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:22:05.836539 [ 1549 ] {2d24f150-7395-426f-abca-44205b5e249f} executeQuery: Code: 137. DB::Exception: test_zvwsyrk6.id_value_dictionary: unknown dictionary source type: clickhousex. (UNKNOWN_ELEMENT_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:51034) (comment: 02918_wrong_dictionary_source.sql) (in query: -- There is no "CLICKHOUSEX" dictionary source, so the next query must fail even if `dictionaries_lazy_load` is enabled. CREATE DICTIONARY id_value_dictionary(id UInt64, value String) PRIMARY KEY id SOURCE(CLICKHOUSEX(TABLE 'source_table')) LIFETIME(MIN 0 MAX 1000) LAYOUT(FLAT());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/Dictionaries/DictionarySourceFactory.cpp:116: DB::DictionarySourceFactory::checkSourceAvailable(String const&, String const&, std::shared_ptr const&) const @ 0x0000000019056272 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:525: DB::(anonymous namespace)::buildSourceConfiguration(Poco::AutoPtr, Poco::AutoPtr, DB::ASTFunctionWithKeyValueArguments const*, DB::ASTDictionarySettings const*, String const&, std::shared_ptr) @ 0x000000001a08a8eb 8. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:652: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a088007 9. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 16. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 20. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 21. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 22. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 23. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:05.837607 [ 1549 ] {2d24f150-7395-426f-abca-44205b5e249f} TCPHandler: Code: 137. DB::Exception: test_zvwsyrk6.id_value_dictionary: unknown dictionary source type: clickhousex. (UNKNOWN_ELEMENT_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/Dictionaries/DictionarySourceFactory.cpp:116: DB::DictionarySourceFactory::checkSourceAvailable(String const&, String const&, std::shared_ptr const&) const @ 0x0000000019056272 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:525: DB::(anonymous namespace)::buildSourceConfiguration(Poco::AutoPtr, Poco::AutoPtr, DB::ASTFunctionWithKeyValueArguments const*, DB::ASTDictionarySettings const*, String const&, std::shared_ptr) @ 0x000000001a08a8eb 8. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:652: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a088007 9. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 16. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 20. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 21. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 22. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 23. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:06.337943 [ 1809 ] {2758cf8c-2216-4852-88d9-32f854e07036} executeQuery: Code: 36. DB::Exception: 'StorageFuzzJSON' supports only columns of String type, got Nullable(Int64). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51024) (comment: 02919_storage_fuzzjson.sql) (in query: CREATE TABLE 02919_test_table_invalid_col_type ( str Nullable(Int64) ) ENGINE = FuzzJSON('{"pet":"rat"}', NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageFuzzJSON.cpp:729: DB::registerStorageFuzzJSON(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c3a0720 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c3a043d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c3a03dd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c3a039d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c3a0365 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:06.338956 [ 1809 ] {2758cf8c-2216-4852-88d9-32f854e07036} TCPHandler: Code: 36. DB::Exception: 'StorageFuzzJSON' supports only columns of String type, got Nullable(Int64). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageFuzzJSON.cpp:729: DB::registerStorageFuzzJSON(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c3a0720 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c3a043d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c3a03dd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c3a039d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c3a0365 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:13.398319 [ 1809 ] {c33ecf10-95df-440d-a86f-029aba90fa01} DynamicQueryHandler: Code: 271. DB::Exception: Invalid zero byte count(s): 5 and 1. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x0000000018d0842c 6. /build/src/Compression/CompressionCodecFPC.cpp:419: DB::(anonymous namespace)::FPCOperation::decodePair(std::span, unsigned int&, unsigned int&) @ 0x0000000019e20735 7. /build/src/Compression/CompressionCodecFPC.cpp:387: DB::(anonymous namespace)::FPCOperation::decodeChunk(std::span, std::span) @ 0x0000000019e2042b 8. /build/src/Compression/CompressionCodecFPC.cpp:279: DB::(anonymous namespace)::FPCOperation::decode(std::span, unsigned long) && @ 0x0000000019e1e035 9. /build/src/Compression/CompressionCodecFPC.cpp:508: DB::CompressionCodecFPC::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000019e1dcf8 10. /build/src/Compression/ICompressionCodec.cpp:110: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x0000000019e35b4a 11. /build/src/Compression/CompressedReadBufferBase.cpp:318: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000019dda3fa 12. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x0000000019dd877a 13. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 14. /build/src/IO/ReadBuffer.cpp:28: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x0000000019904b0f 15. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 16. /build/src/IO/ReadBuffer.h:106: DB::ConcatReadBuffer::nextImpl() @ 0x000000001a502006 17. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 18. /build/src/IO/ReadBuffer.h:92: DB::ReadBuffer::nextIfAtEnd() @ 0x000000001338dfb8 19. /build/src/Interpreters/executeQuery.cpp:1403: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb342a 20. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 21. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:22:13.480679 [ 1809 ] {db3ee883-31d2-490d-a285-90716b08474d} DynamicQueryHandler: Code: 271. DB::Exception: Invalid zero byte count(s): 1 and 6. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x0000000018d0842c 6. /build/src/Compression/CompressionCodecFPC.cpp:419: DB::(anonymous namespace)::FPCOperation::decodePair(std::span, unsigned int&, unsigned int&) @ 0x0000000019e20735 7. /build/src/Compression/CompressionCodecFPC.cpp:387: DB::(anonymous namespace)::FPCOperation::decodeChunk(std::span, std::span) @ 0x0000000019e2042b 8. /build/src/Compression/CompressionCodecFPC.cpp:279: DB::(anonymous namespace)::FPCOperation::decode(std::span, unsigned long) && @ 0x0000000019e1e035 9. /build/src/Compression/CompressionCodecFPC.cpp:508: DB::CompressionCodecFPC::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000019e1dcf8 10. /build/src/Compression/ICompressionCodec.cpp:110: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x0000000019e35b4a 11. /build/src/Compression/CompressedReadBufferBase.cpp:318: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000019dda3fa 12. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x0000000019dd877a 13. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 14. /build/src/IO/ReadBuffer.cpp:28: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x0000000019904b0f 15. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 16. /build/src/IO/ReadBuffer.h:106: DB::ConcatReadBuffer::nextImpl() @ 0x000000001a502006 17. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 18. /build/src/IO/ReadBuffer.h:92: DB::ReadBuffer::nextIfAtEnd() @ 0x000000001338dfb8 19. /build/src/Interpreters/executeQuery.cpp:1403: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb342a 20. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 21. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:22:16.776220 [ 1809 ] {06e8522e-e313-4839-bfff-b378e27cb5b7} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.777073 [ 1809 ] {06e8522e-e313-4839-bfff-b378e27cb5b7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.799601 [ 1809 ] {3c7c64da-7002-4a48-b672-fa9726170f04} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero32();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.800670 [ 1809 ] {3c7c64da-7002-4a48-b672-fa9726170f04} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.821939 [ 1809 ] {be461566-2ee4-4ecb-9d1c-36d2fb983449} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero doesn't match: passed 2, should be 1: In scope SELECT fromDaysSinceYearZero(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.822997 [ 1809 ] {be461566-2ee4-4ecb-9d1c-36d2fb983449} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero doesn't match: passed 2, should be 1: In scope SELECT fromDaysSinceYearZero(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.845035 [ 1809 ] {6d2c372e-4ae2-4b42-889a-5dda82e46dd2} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 2, should be 1: In scope SELECT fromDaysSinceYearZero32(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero32(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:16.846068 [ 1809 ] {6d2c372e-4ae2-4b42-889a-5dda82e46dd2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 2, should be 1: In scope SELECT fromDaysSinceYearZero32(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:17.055628 [ 1809 ] {a38d65b1-c299-456c-b7f6-64b2a3ad563f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'days' of function fromDaysSinceYearZero, expected Integer, got String: In scope SELECT fromDaysSinceYearZero('needs a number'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero('needs a number');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/fromDaysSinceYearZero.cpp:57: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d83a85b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:17.057095 [ 1809 ] {a38d65b1-c299-456c-b7f6-64b2a3ad563f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'days' of function fromDaysSinceYearZero, expected Integer, got String: In scope SELECT fromDaysSinceYearZero('needs a number'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/fromDaysSinceYearZero.cpp:57: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d83a85b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:17.233637 [ 1809 ] {a201b82f-7792-44f9-87e5-67cc049347c6} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'days' of function fromDaysSinceYearZero32, expected Integer, got String: In scope SELECT fromDaysSinceYearZero32('needs a number'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero32('needs a number');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/fromDaysSinceYearZero.cpp:57: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d83cdfb 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:17.234493 [ 1809 ] {a201b82f-7792-44f9-87e5-67cc049347c6} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'days' of function fromDaysSinceYearZero32, expected Integer, got String: In scope SELECT fromDaysSinceYearZero32('needs a number'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/fromDaysSinceYearZero.cpp:57: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d83cdfb 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:17.384607 [ 1809 ] {b5978ff5-eaa0-4545-b7cc-25cdeefe93d4} executeQuery: Code: 69. DB::Exception: Expected a non-negative integer, got: -3: In scope SELECT fromDaysSinceYearZero(-3). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero(-3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/fromDaysSinceYearZero.cpp:99: _ZNK2DB12_GLOBAL__N_129FunctionFromDaysSinceYearZeroINS0_10DateTraitsEE7executeIDB8_NS_12ColumnVectorIS5_EENS6_ItEEEEvRKT0_RT1_m @ 0x000000000d83b6b7 7. /build/src/Functions/fromDaysSinceYearZero.cpp:74: auto DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'($T)::operator()<_BitInt(8)>($T) const @ 0x000000000d83ac36 8. /build/src/Functions/fromDaysSinceYearZero.cpp:80: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d83a516 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:22:17.385414 [ 1809 ] {b5978ff5-eaa0-4545-b7cc-25cdeefe93d4} TCPHandler: Code: 69. DB::Exception: Expected a non-negative integer, got: -3: In scope SELECT fromDaysSinceYearZero(-3). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/fromDaysSinceYearZero.cpp:99: _ZNK2DB12_GLOBAL__N_129FunctionFromDaysSinceYearZeroINS0_10DateTraitsEE7executeIDB8_NS_12ColumnVectorIS5_EENS6_ItEEEEvRKT0_RT1_m @ 0x000000000d83b6b7 7. /build/src/Functions/fromDaysSinceYearZero.cpp:74: auto DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'($T)::operator()<_BitInt(8)>($T) const @ 0x000000000d83ac36 8. /build/src/Functions/fromDaysSinceYearZero.cpp:80: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d83a516 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:22:17.555369 [ 1809 ] {d8f42bc6-25a0-4dfa-a7af-4cbb145bdae8} executeQuery: Code: 69. DB::Exception: Expected a non-negative integer, got: -3: In scope SELECT fromDaysSinceYearZero32(-3). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:56158) (comment: 02907_fromDaysSinceYearZero.sql) (in query: SELECT fromDaysSinceYearZero32(-3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/fromDaysSinceYearZero.cpp:99: _ZNK2DB12_GLOBAL__N_129FunctionFromDaysSinceYearZeroINS0_12DateTraits32EE7executeIDB8_NS_12ColumnVectorIS5_EENS6_IiEEEEvRKT0_RT1_m @ 0x000000000d83dc57 7. /build/src/Functions/fromDaysSinceYearZero.cpp:74: auto DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'($T)::operator()<_BitInt(8)>($T) const @ 0x000000000d83d1d6 8. /build/src/Functions/fromDaysSinceYearZero.cpp:80: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d83cab6 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:22:17.556375 [ 1809 ] {d8f42bc6-25a0-4dfa-a7af-4cbb145bdae8} TCPHandler: Code: 69. DB::Exception: Expected a non-negative integer, got: -3: In scope SELECT fromDaysSinceYearZero32(-3). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/fromDaysSinceYearZero.cpp:99: _ZNK2DB12_GLOBAL__N_129FunctionFromDaysSinceYearZeroINS0_12DateTraits32EE7executeIDB8_NS_12ColumnVectorIS5_EENS6_IiEEEEvRKT0_RT1_m @ 0x000000000d83dc57 7. /build/src/Functions/fromDaysSinceYearZero.cpp:74: auto DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'($T)::operator()<_BitInt(8)>($T) const @ 0x000000000d83d1d6 8. /build/src/Functions/fromDaysSinceYearZero.cpp:80: DB::(anonymous namespace)::FunctionFromDaysSinceYearZero::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d83cab6 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:22:19.036379 [ 1809 ] {f6f29b25-35c0-44f8-9b5d-7743914aa920} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_rs2x663z.Mapping (ba8878e3-4941-461a-b3b2-3fb8df942134), because some tables depend on it: test_rs2x663z.Sub_distributed. (HAVE_DEPENDENT_OBJECTS) (version 24.3.12.76.altinitystable) (from [::1]:48558) (comment: 02916_joinget_dependency.sh) (in query: DROP TABLE Mapping; ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001a68802c 6. /build/src/Interpreters/DatabaseCatalog.cpp:1456: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x000000001a67e37d 7. /build/src/Interpreters/DatabaseCatalog.cpp:1438: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x000000001a67e820 8. /build/src/Interpreters/InterpreterDropQuery.cpp:270: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03c855 9. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 10. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:19.038420 [ 1809 ] {f6f29b25-35c0-44f8-9b5d-7743914aa920} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_rs2x663z.Mapping (ba8878e3-4941-461a-b3b2-3fb8df942134), because some tables depend on it: test_rs2x663z.Sub_distributed. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001a68802c 6. /build/src/Interpreters/DatabaseCatalog.cpp:1456: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x000000001a67e37d 7. /build/src/Interpreters/DatabaseCatalog.cpp:1438: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x000000001a67e820 8. /build/src/Interpreters/InterpreterDropQuery.cpp:270: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03c855 9. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 10. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:20.214188 [ 1549 ] {aa91eef0-1964-4eaa-8bac-34bb87c4b69f} executeQuery: Code: 117. DB::Exception: Projection non_existing_projection is specified in setting force_optimize_projection_name but not used. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:48570) (comment: 02906_force_optimize_projection_name.sql) (in query: SELECT name FROM test GROUP BY name SETTINGS force_optimize_projection_name='non_existing_projection';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/executeQuery.cpp:1263: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb276c 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:20.217978 [ 1549 ] {aa91eef0-1964-4eaa-8bac-34bb87c4b69f} TCPHandler: Code: 117. DB::Exception: Projection non_existing_projection is specified in setting force_optimize_projection_name but not used. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/executeQuery.cpp:1263: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb276c 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:20.244701 [ 1549 ] {6035d695-71d3-4ff2-91b4-5bd75a1b84b8} executeQuery: Code: 117. DB::Exception: Projection projection_name is specified in setting force_optimize_projection_name but not used. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:48570) (comment: 02906_force_optimize_projection_name.sql) (in query: SELECT name FROM test SETTINGS force_optimize_projection_name='projection_name';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/executeQuery.cpp:1263: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb276c 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:20.245859 [ 1549 ] {6035d695-71d3-4ff2-91b4-5bd75a1b84b8} TCPHandler: Code: 117. DB::Exception: Projection projection_name is specified in setting force_optimize_projection_name but not used. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/executeQuery.cpp:1263: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb276c 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:22:32.568211 [ 1549 ] {14468f3a-ec42-4676-8051-de68c747b77f} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'val'. In scope SELECT val, val + 1 AS prev, val + prev AS val FROM (SELECT 1 AS val). (CYCLIC_ALIASES) (version 24.3.12.76.altinitystable) (from [::1]:40756) (comment: 02896_cyclic_aliases_crash.sql) (in query: SELECT val, val + 1 as prev, val + prev as val FROM ( SELECT 1 as val ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2880: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b0174 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:22:32.569142 [ 1549 ] {14468f3a-ec42-4676-8051-de68c747b77f} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'val'. In scope SELECT val, val + 1 AS prev, val + prev AS val FROM (SELECT 1 AS val). (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2880: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b0174 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:22:36.517872 [ 1549 ] {6cf8c91b-a035-4259-b2a2-299a2640707a} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 0, should be 2: In scope SELECT arrayShingles(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.518832 [ 1549 ] {6cf8c91b-a035-4259-b2a2-299a2640707a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 0, should be 2: In scope SELECT arrayShingles(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.537782 [ 1549 ] {e24dc247-94c7-4121-94e0-01a896244ac7} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 1, should be 2: In scope SELECT arrayShingles([1, 2, 3, 4, 5]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.538729 [ 1549 ] {e24dc247-94c7-4121-94e0-01a896244ac7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 1, should be 2: In scope SELECT arrayShingles([1, 2, 3, 4, 5]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.557110 [ 1549 ] {30109922-e5a4-4f85-b70f-634ad21a46d6} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 3, should be 2: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 2, 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5], 2, 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.558074 [ 1549 ] {30109922-e5a4-4f85-b70f-634ad21a46d6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayShingles doesn't match: passed 3, should be 2: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 2, 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:22:36.752498 [ 1549 ] {e2d42340-4a36-4c85-be9f-95101e9482fc} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'length' of function arrayShingles, expected Integer, got String: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 'str'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5], 'str');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayShingles.cpp:34: DB::FunctionArrayShingles::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c9b497 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:36.753532 [ 1549 ] {e2d42340-4a36-4c85-be9f-95101e9482fc} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'length' of function arrayShingles, expected Integer, got String: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 'str'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayShingles.cpp:34: DB::FunctionArrayShingles::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c9b497 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:36.772200 [ 1549 ] {d981a9f9-7396-43ab-a575-9b1512833c4e} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'array' of function arrayShingles, expected Array, got Tuple(UInt8, UInt8, UInt8, UInt8, UInt8): In scope SELECT arrayShingles((1, 2, 3, 4, 5), 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles((1, 2, 3, 4, 5), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayShingles.cpp:34: DB::FunctionArrayShingles::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c9b497 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:36.773107 [ 1549 ] {d981a9f9-7396-43ab-a575-9b1512833c4e} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'array' of function arrayShingles, expected Array, got Tuple(UInt8, UInt8, UInt8, UInt8, UInt8): In scope SELECT arrayShingles((1, 2, 3, 4, 5), 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayShingles.cpp:34: DB::FunctionArrayShingles::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c9b497 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:36.959501 [ 1549 ] {f9dead92-e1aa-4c66-97f3-849c828ccd11} executeQuery: Code: 36. DB::Exception: Shingle argument of function arrayShingles must be a positive integer.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 0). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5], 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:62: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9aec5 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:36.960514 [ 1549 ] {f9dead92-e1aa-4c66-97f3-849c828ccd11} TCPHandler: Code: 36. DB::Exception: Shingle argument of function arrayShingles must be a positive integer.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:62: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9aec5 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:36.977074 [ 1549 ] {6d16623a-eee3-4dec-ba2e-825331854683} executeQuery: Code: 36. DB::Exception: Shingle argument of function arrayShingles must be a positive integer.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], -2). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5], -2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:62: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9aec5 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:36.977757 [ 1549 ] {6d16623a-eee3-4dec-ba2e-825331854683} TCPHandler: Code: 36. DB::Exception: Shingle argument of function arrayShingles must be a positive integer.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], -2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:62: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9aec5 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:37.157004 [ 1549 ] {ec0df431-84f2-499a-90f6-e8e39317eca4} executeQuery: Code: 36. DB::Exception: Shingle argument of function arrayShingles must less or equal than the array length.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 6). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([1, 2, 3, 4, 5], 6);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:66: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9b096 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:37.158039 [ 1549 ] {ec0df431-84f2-499a-90f6-e8e39317eca4} TCPHandler: Code: 36. DB::Exception: Shingle argument of function arrayShingles must less or equal than the array length.: In scope SELECT arrayShingles([1, 2, 3, 4, 5], 6). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:66: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9b096 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:37.176215 [ 1549 ] {33b3d470-6831-43a6-8ea4-fb8b81e0563f} executeQuery: Code: 36. DB::Exception: Shingle argument of function arrayShingles must less or equal than the array length.: In scope SELECT arrayShingles([], 1). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40800) (comment: 02891_array_shingles.sql) (in query: SELECT arrayShingles([], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:66: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9b096 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:37.177150 [ 1549 ] {33b3d470-6831-43a6-8ea4-fb8b81e0563f} TCPHandler: Code: 36. DB::Exception: Shingle argument of function arrayShingles must less or equal than the array length.: In scope SELECT arrayShingles([], 1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayShingles.cpp:66: DB::FunctionArrayShingles::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012c9b096 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:46.407258 [ 1549 ] {81e758ee-da9a-4041-bd5e-c6018e341e21} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function with ArgMin suffix. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38314) (comment: 02885_arg_min_max_combinator.sql) (in query: select sumArgMin() from numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:186: DB::(anonymous namespace)::CombinatorArgMinArgMax::transformArguments(std::vector, std::allocator>> const&) const @ 0x0000000015f00fcd 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:245: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9d82 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:46.408325 [ 1549 ] {81e758ee-da9a-4041-bd5e-c6018e341e21} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function with ArgMin suffix. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:186: DB::(anonymous namespace)::CombinatorArgMinArgMax::transformArguments(std::vector, std::allocator>> const&) const @ 0x0000000015f00fcd 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:245: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9d82 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:22:46.571407 [ 1549 ] {1e0c37f7-31b4-4c61-bfe4-5e16cde04933} executeQuery: Code: 42. DB::Exception: Aggregate function sum requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38314) (comment: 02885_arg_min_max_combinator.sql) (in query: select sumArgMin(number) from numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:58: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfcd5 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 17. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:22:46.572329 [ 1549 ] {1e0c37f7-31b4-4c61-bfe4-5e16cde04933} TCPHandler: Code: 42. DB::Exception: Aggregate function sum requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:58: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfcd5 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 17. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:22:46.753119 [ 1549 ] {d722fa67-32a7-475d-90bb-81b6694944ad} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(sum, UInt64) for combinator sumArgMin because the values of that data type are not comparable. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38314) (comment: 02885_arg_min_max_combinator.sql) (in query: -- Try passing a non comparable type, for example an AggregationState select sumArgMin(number, unhex('0000000000000000')::AggregateFunction(sum, UInt64)) from numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax::AggregateFunctionCombinatorArgMinArgMax(std::shared_ptr, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01c57 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax* std::construct_at[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*>(DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01989 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01731 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator>, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01417 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f0128a 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01196 12. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:200: DB::(anonymous namespace)::CombinatorArgMinArgMax::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000015f010cd 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:22:46.754479 [ 1549 ] {d722fa67-32a7-475d-90bb-81b6694944ad} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(sum, UInt64) for combinator sumArgMin because the values of that data type are not comparable. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax::AggregateFunctionCombinatorArgMinArgMax(std::shared_ptr, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01c57 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax* std::construct_at[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*>(DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01989 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::(anonymous namespace)::AggregateFunctionCombinatorArgMinArgMax*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01731 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator>, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01417 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f0128a 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f01196 12. /build/src/AggregateFunctions/Combinators/AggregateFunctionCombinatorsArgMinArgMax.cpp:200: DB::(anonymous namespace)::CombinatorArgMinArgMax::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000015f010cd 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:22:50.892188 [ 1809 ] {2079e6bf-3b98-4e37-bf6b-eddf68d87efc} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 0, expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:50.893064 [ 1809 ] {2079e6bf-3b98-4e37-bf6b-eddf68d87efc} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 0, expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:51.070092 [ 1809 ] {3f5b0cb9-a44a-432a-8e5f-248f02bd766b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got Date: In scope SELECT YYYYMMDDToDate(toDate('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(toDate('2023-09-11'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.071156 [ 1809 ] {3f5b0cb9-a44a-432a-8e5f-248f02bd766b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got Date: In scope SELECT YYYYMMDDToDate(toDate('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.087374 [ 1809 ] {523dd4f0-baf1-4bbb-9eb9-1eb4e64fbafa} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got Date32: In scope SELECT YYYYMMDDToDate(toDate32('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(toDate32('2023-09-11'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.088068 [ 1809 ] {523dd4f0-baf1-4bbb-9eb9-1eb4e64fbafa} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got Date32: In scope SELECT YYYYMMDDToDate(toDate32('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.103778 [ 1809 ] {31320765-dcb2-4631-856e-cb62817036f1} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got DateTime: In scope SELECT YYYYMMDDToDate(toDateTime('2023-09-11 12:18:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(toDateTime('2023-09-11 12:18:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.104496 [ 1809 ] {31320765-dcb2-4631-856e-cb62817036f1} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got DateTime: In scope SELECT YYYYMMDDToDate(toDateTime('2023-09-11 12:18:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.119303 [ 1809 ] {4dc3ac8a-1a39-4859-9fb8-4475535a79f7} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got DateTime64(3): In scope SELECT YYYYMMDDToDate(toDateTime64('2023-09-11 12:18:00', 3)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(toDateTime64('2023-09-11 12:18:00', 3));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.119958 [ 1809 ] {4dc3ac8a-1a39-4859-9fb8-4475535a79f7} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got DateTime64(3): In scope SELECT YYYYMMDDToDate(toDateTime64('2023-09-11 12:18:00', 3)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.134086 [ 1809 ] {57557082-c95e-447b-b64f-824d1b86c62a} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got String: In scope SELECT YYYYMMDDToDate('2023-09-11'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate('2023-09-11');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.134930 [ 1809 ] {57557082-c95e-447b-b64f-824d1b86c62a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate, expected Number, got String: In scope SELECT YYYYMMDDToDate('2023-09-11'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:51.149619 [ 1809 ] {c8c8f92f-dc39-4f94-9a80-4a78f583dc2b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 3 (UInt16, UInt8, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(2023, 9, 11). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(2023, 09, 11);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:51.150436 [ 1809 ] {c8c8f92f-dc39-4f94-9a80-4a78f583dc2b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 3 (UInt16, UInt8, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(2023, 9, 11). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:51.165903 [ 1809 ] {7abe7d15-fb0b-477b-bfcb-13cd1401d414} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 2 (UInt16, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(2023, 110). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(2023, 110);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:51.166724 [ 1809 ] {7abe7d15-fb0b-477b-bfcb-13cd1401d414} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate provided 2 (UInt16, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate(2023, 110). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85a0db 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:51.866584 [ 1809 ] {d9433ab1-0139-4d67-87cc-59e7750746e9} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(nan). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(NaN);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:51.867438 [ 1809 ] {d9433ab1-0139-4d67-87cc-59e7750746e9} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(nan). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:51.884717 [ 1809 ] {3eeb0507-2a91-40da-b03e-1045ab902cf2} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(inf). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(Inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:51.885686 [ 1809 ] {3eeb0507-2a91-40da-b03e-1045ab902cf2} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(inf). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:51.903439 [ 1809 ] {c7bc9f17-af5b-4014-9f5d-7189793ea779} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(-inf). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate(-Inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:51.904231 [ 1809 ] {c7bc9f17-af5b-4014-9f5d-7189793ea779} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate must be finite: In scope SELECT YYYYMMDDToDate(-inf). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f859d10 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:52.759197 [ 1809 ] {7ba946c6-6dbc-4645-90af-67f898727802} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got Date: In scope SELECT YYYYMMDDToDate32(toDate('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(toDate('2023-09-11'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.760186 [ 1809 ] {7ba946c6-6dbc-4645-90af-67f898727802} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got Date: In scope SELECT YYYYMMDDToDate32(toDate('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.775825 [ 1809 ] {ee7f2560-6a28-4fa7-b47d-d28d18785a19} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got Date32: In scope SELECT YYYYMMDDToDate32(toDate32('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(toDate32('2023-09-11'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.776633 [ 1809 ] {ee7f2560-6a28-4fa7-b47d-d28d18785a19} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got Date32: In scope SELECT YYYYMMDDToDate32(toDate32('2023-09-11')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.795003 [ 1809 ] {76197b47-76b4-4127-af45-ddecde2a8d8a} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got DateTime: In scope SELECT YYYYMMDDToDate32(toDateTime('2023-09-11 12:18:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(toDateTime('2023-09-11 12:18:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.795721 [ 1809 ] {76197b47-76b4-4127-af45-ddecde2a8d8a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got DateTime: In scope SELECT YYYYMMDDToDate32(toDateTime('2023-09-11 12:18:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.812788 [ 1809 ] {270b4af5-d595-465e-a55e-dd1c79c0bfeb} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got DateTime64(3): In scope SELECT YYYYMMDDToDate32(toDateTime64('2023-09-11 12:18:00', 3)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(toDateTime64('2023-09-11 12:18:00', 3));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.813672 [ 1809 ] {270b4af5-d595-465e-a55e-dd1c79c0bfeb} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got DateTime64(3): In scope SELECT YYYYMMDDToDate32(toDateTime64('2023-09-11 12:18:00', 3)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.829074 [ 1809 ] {b6cad22d-f11a-43cb-a348-a195222402c6} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got String: In scope SELECT YYYYMMDDToDate32('2023-09-11'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32('2023-09-11');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:52.829824 [ 1809 ] {b6cad22d-f11a-43cb-a348-a195222402c6} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'YYYYMMDD' of function YYYYMMDDToDate32, expected Number, got String: In scope SELECT YYYYMMDDToDate32('2023-09-11'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:22:53.001313 [ 1809 ] {e729f30d-3d54-489e-86ba-7add44b2e439} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate32 provided 3 (UInt16, UInt8, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate32(2023, 9, 11). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(2023, 09, 11);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:53.002207 [ 1809 ] {e729f30d-3d54-489e-86ba-7add44b2e439} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate32 provided 3 (UInt16, UInt8, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate32(2023, 9, 11). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:53.020296 [ 1809 ] {b5789db8-fd94-4ce0-89f1-de2545133630} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate32 provided 2 (UInt16, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate32(2023, 110). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(2023, 110);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:53.021247 [ 1809 ] {b5789db8-fd94-4ce0-89f1-de2545133630} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDToDate32 provided 2 (UInt16, UInt8), expected 1 ('YYYYMMDD' : Number): In scope SELECT YYYYMMDDToDate32(2023, 110). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:195: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85b95b 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:22:53.701223 [ 1809 ] {4e0a359b-024f-41fb-b950-053f6688ce66} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(nan). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(NaN);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:53.702025 [ 1809 ] {4e0a359b-024f-41fb-b950-053f6688ce66} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(nan). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:53.715375 [ 1809 ] {ca8d3154-0a2a-4d06-bf05-95a982fb7a6c} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(inf). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(Inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:53.715997 [ 1809 ] {ca8d3154-0a2a-4d06-bf05-95a982fb7a6c} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(inf). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:53.728667 [ 1809 ] {48fed764-06b9-42ed-9690-bdc7fb1f8a06} executeQuery: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(-inf). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59152) (comment: 02876_yyyymmddtodate.sql) (in query: SELECT YYYYMMDDToDate32(-Inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:22:53.729311 [ 1809 ] {48fed764-06b9-42ed-9690-bdc7fb1f8a06} TCPHandler: Code: 36. DB::Exception: Argument for function YYYYMMDDToDate32 must be finite: In scope SELECT YYYYMMDDToDate32(-inf). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/makeDate.cpp:215: DB::(anonymous namespace)::FunctionYYYYYMMDDToDate::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f85b5b0 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:23:03.161047 [ 4577 ] {605a2e34-0f5c-41c4-a22c-e892af46a970} executeQuery: Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5'. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:37988) (comment: 02885_async_insert_access_check_for_defaults.sh) (in query: INSERT INTO table_with_default (key) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:23:03.163282 [ 4577 ] {605a2e34-0f5c-41c4-a22c-e892af46a970} TCPHandler: Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5'. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:23:06.666570 [ 1695 ] {f39aac53-0846-4764-9b8b-a2c1574b3148} executeQuery: Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5'. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02885_async_insert_access_check_for_defaults.sh) (in query: INSERT INTO test_eqwgwvyu.table_with_default (key) FORMAT Values), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:23:06.668128 [ 1695 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_eqwgwvyu.table_with_default (key) FORMAT Values': Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5'. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 (version 24.3.12.76.altinitystable) 2025.03.05 21:23:06.670329 [ 3423 ] {0e5310cf-6d14-48ed-a41a-83b5c6c5b93d} executeQuery: Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5': While executing WaitForAsyncInsert. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:38092) (comment: 02885_async_insert_access_check_for_defaults.sh) (in query: INSERT INTO table_with_default (key) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:23:06.672594 [ 3423 ] {0e5310cf-6d14-48ed-a41a-83b5c6c5b93d} TCPHandler: Code: 497. DB::Exception: test_eqwgwvyu_restricted_user_1636519474: Not enough privileges. To execute this query, it's necessary to have the grant dictGet ON test_eqwgwvyu.dict: while executing 'FUNCTION dictGetString(__dictGetString :: 1, 'value' :: 2, key :: 0) -> dictGetString(test_eqwgwvyu.dict, 'value', key) String : 5': While executing WaitForAsyncInsert. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019578b30 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001957706d 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&) const @ 0x000000001953e14c 9. /build/src/Access/ContextAccess.cpp:726: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x00000000195394c9 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>, std::basic_string_view>>(DB::AccessFlags const&, std::basic_string_view> const&, std::basic_string_view> const&) const @ 0x000000001a56de84 11. /build/src/Interpreters/Context.cpp:1403: DB::Context::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>) const @ 0x000000001a543655 12. /build/src/Functions/FunctionsExternalDictionaries.h:81: DB::FunctionDictHelper::getDictionary(String const&) @ 0x000000000b00d2f7 13. /build/src/Functions/FunctionsExternalDictionaries.h:432: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b00aa82 14. /build/src/Functions/FunctionsExternalDictionaries.h:860: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b03580b 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 20. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001da4155f 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:23:11.377730 [ 4742 ] {b30ea6e3-cef8-424c-aff0-cf1cedc6cea9} executeQuery: Code: 35. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope SELECT b FROM set_index__fuzz_41 WHERE and(b = 256) SETTINGS force_data_skipping_indices = 'b_set', optimize_move_to_prewhere = 0, max_parallel_replicas = 2, parallel_replicas_for_non_replicated_merge_tree = 1, allow_experimental_parallel_reading_from_replicas = 2. (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:51312) (comment: 02861_index_set_incorrect_args.sql) (in query: SELECT b FROM set_index__fuzz_41 WHERE and(b = 256) SETTINGS force_data_skipping_indices = 'b_set', optimize_move_to_prewhere = 0, max_parallel_replicas=2, parallel_replicas_for_non_replicated_merge_tree=1, allow_experimental_parallel_reading_from_replicas=2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsLogical.cpp:517: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190ac286 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:11.378657 [ 4742 ] {b30ea6e3-cef8-424c-aff0-cf1cedc6cea9} TCPHandler: Code: 35. DB::Exception: Number of arguments for function "and" should be at least 2: passed 1: In scope SELECT b FROM set_index__fuzz_41 WHERE and(b = 256) SETTINGS force_data_skipping_indices = 'b_set', optimize_move_to_prewhere = 0, max_parallel_replicas = 2, parallel_replicas_for_non_replicated_merge_tree = 1, allow_experimental_parallel_reading_from_replicas = 2. (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsLogical.cpp:517: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190ac286 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.489712 [ 4577 ] {72117ecf-90c8-410e-ad17-77ee281b5ad6} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 0, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: -- check illegal queries SELECT * FROM t1 JOIN t2 ON isNotDistinctFrom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.491078 [ 4577 ] {72117ecf-90c8-410e-ad17-77ee281b5ad6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 0, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.514832 [ 4577 ] {09152eb5-5701-4001-8830-d9bce47a526d} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(t1.a). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON isNotDistinctFrom(t1.a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.515842 [ 4577 ] {09152eb5-5701-4001-8830-d9bce47a526d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(t1.a). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.542378 [ 4577 ] {602796fb-f5aa-48b9-934e-3c23a7b5228f} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 3, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(t1.a, t2.a, t2.b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON isNotDistinctFrom(t1.a, t2.a, t2.b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.543781 [ 4577 ] {602796fb-f5aa-48b9-934e-3c23a7b5228f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 3, should be 2: In scope SELECT * FROM t1 INNER JOIN t2 ON isNotDistinctFrom(t1.a, t2.a, t2.b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.564901 [ 4577 ] {82687c42-7b55-4722-ba80-263ffa750c59} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: In scope SELECT isNotDistinctFrom(a) FROM t1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT isNotDistinctFrom(a) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.565980 [ 4577 ] {82687c42-7b55-4722-ba80-263ffa750c59} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 1, should be 2: In scope SELECT isNotDistinctFrom(a) FROM t1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:23:16.784380 [ 4577 ] {fcc4ac3c-e116-4820-a011-9edf6dc167bf} executeQuery: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT isNotDistinctFrom(a, b) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:16.785318 [ 4577 ] {fcc4ac3c-e116-4820-a011-9edf6dc167bf} TCPHandler: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:16.809776 [ 4577 ] {95bff2d2-2df3-4f7f-a7e6-f7d5fc11e5f8} executeQuery: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT a <=> b from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:16.810650 [ 4577 ] {95bff2d2-2df3-4f7f-a7e6-f7d5fc11e5f8} TCPHandler: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:16.839308 [ 4577 ] {a65c73cf-8e20-4fc2-8fbc-eceea20eb529} executeQuery: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:51282) (comment: 02861_join_on_nullsafe_compare.gen.sql) (in query: SELECT a IS NOT DISTINCT FROM b from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:16.840082 [ 4577 ] {a65c73cf-8e20-4fc2-8fbc-eceea20eb529} TCPHandler: Code: 48. DB::Exception: Function isNotDistinctFrom can be used only in the JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/isNotDistinctFrom.h:48: DB::FunctionIsNotDistinctFrom::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ecd2de7 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 13. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 14. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 18. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 19. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 20. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 22. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:23:24.344203 [ 730 ] {660cd016-d0bb-40b6-aa79-0d0c25178701} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got Int8: In scope SELECT arrayRandomSample([1, 2, 3], -5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51472) (in query: SELECT arrayRandomSample([1, 2, 3], -5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:24.345107 [ 730 ] {660cd016-d0bb-40b6-aa79-0d0c25178701} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got Int8: In scope SELECT arrayRandomSample([1, 2, 3], -5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:24.813091 [ 1549 ] {0309101c-e9f6-4149-9f10-39544ffaa2c7} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got String: In scope SELECT arrayRandomSample([1, 2, 3], 'a'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51486) (in query: SELECT arrayRandomSample([1, 2, 3], 'a')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:24.814104 [ 1549 ] {0309101c-e9f6-4149-9f10-39544ffaa2c7} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got String: In scope SELECT arrayRandomSample([1, 2, 3], 'a'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:25.317958 [ 3423 ] {93bfe8b7-04de-439a-bf32-b95d38e0dc8f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got Float64: In scope SELECT arrayRandomSample([1, 2, 3], 1.5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51508) (in query: SELECT arrayRandomSample([1, 2, 3], 1.5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:25.319217 [ 3423 ] {93bfe8b7-04de-439a-bf32-b95d38e0dc8f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'samples' of function arrayRandomSample, expected const UInt*, got Float64: In scope SELECT arrayRandomSample([1, 2, 3], 1.5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/array/arrayRandomSample.cpp:42: DB::FunctionArrayRandomSample::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83097 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:23:26.104143 [ 730 ] {2949ca10-e1c5-4d04-8489-4154a180b493} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35794) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSON settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.106882 [ 730 ] {2949ca10-e1c5-4d04-8489-4154a180b493} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.145671 [ 730 ] {d4f41617-f36c-42e4-a381-69bf845e356d} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35798) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.148109 [ 730 ] {d4f41617-f36c-42e4-a381-69bf845e356d} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.204924 [ 730 ] {921f74d1-3459-4fe3-9668-7e19da930640} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35800) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONCompact settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.208855 [ 730 ] {921f74d1-3459-4fe3-9668-7e19da930640} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.262924 [ 730 ] {13ebff0e-5570-4179-93b7-01e8cc211af6} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35816) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONCompactEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.266541 [ 730 ] {13ebff0e-5570-4179-93b7-01e8cc211af6} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.318837 [ 730 ] {74a5996a-234b-4b73-b3b9-455fcbd69231} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35818) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONObjectEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.321217 [ 730 ] {74a5996a-234b-4b73-b3b9-455fcbd69231} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.360744 [ 730 ] {7003d1b6-a186-43d7-a8e1-4429d3fac5ff} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35826) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format XML settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.363784 [ 730 ] {7003d1b6-a186-43d7-a8e1-4429d3fac5ff} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.409395 [ 730 ] {39ff11e4-c271-44e0-9355-0bd36d2b4adb} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35842) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSON settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.412423 [ 730 ] {39ff11e4-c271-44e0-9355-0bd36d2b4adb} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.452199 [ 730 ] {451e5dbf-7398-43bd-97c6-1ef854cc8e8b} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35848) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.455743 [ 730 ] {451e5dbf-7398-43bd-97c6-1ef854cc8e8b} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.499871 [ 730 ] {345d93a8-fcf2-4581-87b6-b6b939c1a253} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35864) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONCompact settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.503731 [ 730 ] {345d93a8-fcf2-4581-87b6-b6b939c1a253} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.547781 [ 730 ] {ee39f2da-56df-4ed3-bcd3-cf9b0e46a1e3} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35868) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONCompactEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.550831 [ 730 ] {ee39f2da-56df-4ed3-bcd3-cf9b0e46a1e3} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.594785 [ 730 ] {5db467d3-a696-4aa5-aa28-b9a0f77237d2} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35870) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format JSONObjectEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.597696 [ 730 ] {5db467d3-a696-4aa5-aa28-b9a0f77237d2} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.638580 [ 730 ] {e810ea88-e2ce-42ce-827e-451d5ab38179} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35884) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from numbers(10) format XML settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.641932 [ 730 ] {e810ea88-e2ce-42ce-827e-451d5ab38179} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.684144 [ 730 ] {0de61f31-7f0d-43c3-b059-e0074b01045c} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35888) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSON settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.686430 [ 730 ] {0de61f31-7f0d-43c3-b059-e0074b01045c} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.729698 [ 730 ] {271c66da-5982-4f29-b136-7b397f2e4c3b} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35896) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONEachRow settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.732302 [ 730 ] {271c66da-5982-4f29-b136-7b397f2e4c3b} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.776859 [ 730 ] {100a9de8-491b-40c5-8b95-599f49cdfe65} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35912) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONCompact settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.779377 [ 730 ] {100a9de8-491b-40c5-8b95-599f49cdfe65} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.823885 [ 730 ] {844b62d8-33bf-4cf7-bb3b-730e3612b495} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35926) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONCompactEachRow settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.826456 [ 730 ] {844b62d8-33bf-4cf7-bb3b-730e3612b495} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.873023 [ 730 ] {e898651d-3bd7-4052-999c-6146f5c0c3ac} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35942) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONObjectEachRow settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.875887 [ 730 ] {e898651d-3bd7-4052-999c-6146f5c0c3ac} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.920484 [ 730 ] {f38e1e03-04da-4028-afe4-206b7c61c34b} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35956) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format XML settings max_block_size=1, output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.922990 [ 730 ] {f38e1e03-04da-4028-afe4-206b7c61c34b} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:26.966749 [ 730 ] {7d9a23dc-1df1-49f7-89b6-2570ebbdef8a} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35968) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSON settings max_block_size=1, output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:26.970979 [ 730 ] {7d9a23dc-1df1-49f7-89b6-2570ebbdef8a} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:28.199039 [ 730 ] {5df44af6-b6c6-421a-ae5a-1a8934e893b7} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:46148) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONCompact settings max_block_size=1, output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:28.202701 [ 730 ] {5df44af6-b6c6-421a-ae5a-1a8934e893b7} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:29.492745 [ 3423 ] {71213bcc-f276-47ad-bb55-30ddd57e701a} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:46158) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONObjectEachRow settings max_block_size=1, output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:29.498172 [ 3423 ] {71213bcc-f276-47ad-bb55-30ddd57e701a} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:30.810267 [ 3423 ] {0e5eef62-4ae4-48f2-b2d5-a4f334970cdb} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:46162) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONEachRow settings max_block_size=1, output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:30.814577 [ 3423 ] {0e5eef62-4ae4-48f2-b2d5-a4f334970cdb} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:32.122733 [ 3660 ] {9cdcc81d-4574-4a50-bdd7-eb7b65e3e129} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:46192) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select number, throwIf(number > 3) as res from system.numbers format JSONCompactEachRow settings max_block_size=1, output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:23:32.129630 [ 3660 ] {9cdcc81d-4574-4a50-bdd7-eb7b65e3e129} DynamicQueryHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(greater(number, 3) :: 2) -> throwIf(greater(number, 3)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05c86 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 26. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 27. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa (version 24.3.12.76.altinitystable) 2025.03.05 21:23:34.677696 [ 1549 ] {eb64ac59-b578-4abe-92f3-4b9b41d38032} executeQuery: Code: 403. DB::Exception: JOIN test_uztkzcnc.`02834_t` AS __table1 ALL INNER JOIN subquery AS __table2 ON arrayExists(x -> (x = 1), __table1.arr) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:40878) (comment: 02834_array_exists_segfault.sql) (in query: WITH subquery AS (SELECT []) SELECT t.* FROM 02834_t AS t JOIN subquery ON arrayExists(x -> x = 1, t.arr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Planner/PlannerJoins.cpp:561: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001b5c215e 7. /build/src/Planner/PlannerJoins.cpp:654: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b5c123a 8. /build/src/Planner/PlannerJoinTree.cpp:1116: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b554c5a 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:34.678626 [ 1549 ] {eb64ac59-b578-4abe-92f3-4b9b41d38032} TCPHandler: Code: 403. DB::Exception: JOIN test_uztkzcnc.`02834_t` AS __table1 ALL INNER JOIN subquery AS __table2 ON arrayExists(x -> (x = 1), __table1.arr) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Planner/PlannerJoins.cpp:561: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001b5c215e 7. /build/src/Planner/PlannerJoins.cpp:654: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b5c123a 8. /build/src/Planner/PlannerJoinTree.cpp:1116: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b554c5a 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:37.845654 [ 4577 ] {8ffd376c-aaf9-4d3c-a92e-be27486fa8aa} executeQuery: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('K(G', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40924) (comment: 02816_has_token_empty.sql) (in query: SELECT hasTokenCaseInsensitive('K(G', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:37.846612 [ 4577 ] {8ffd376c-aaf9-4d3c-a92e-be27486fa8aa} TCPHandler: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('K(G', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:37.861330 [ 4577 ] {fc2bcf7f-1f83-439d-87c2-8da03e584464} executeQuery: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('Hello', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40924) (comment: 02816_has_token_empty.sql) (in query: SELECT hasTokenCaseInsensitive('Hello', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:37.862063 [ 4577 ] {fc2bcf7f-1f83-439d-87c2-8da03e584464} TCPHandler: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('Hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:37.879790 [ 4577 ] {571c88ac-7051-4f3f-989c-ae876a50549c} executeQuery: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40924) (comment: 02816_has_token_empty.sql) (in query: SELECT hasTokenCaseInsensitive('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:37.880988 [ 4577 ] {571c88ac-7051-4f3f-989c-ae876a50549c} TCPHandler: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasTokenCaseInsensitive('', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5718b5 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:38.433193 [ 4577 ] {a1ac2e27-ff7d-47ce-ab2c-5ec20020094b} executeQuery: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasToken('Hello', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40924) (comment: 02816_has_token_empty.sql) (in query: SELECT hasToken('Hello', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56bb15 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:38.434030 [ 4577 ] {a1ac2e27-ff7d-47ce-ab2c-5ec20020094b} TCPHandler: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasToken('Hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56bb15 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:38.473453 [ 4577 ] {77ff9380-0828-4247-bcf6-a333254209e2} executeQuery: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasToken('', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:40924) (comment: 02816_has_token_empty.sql) (in query: SELECT hasToken('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56bb15 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:38.474443 [ 4577 ] {77ff9380-0828-4247-bcf6-a333254209e2} TCPHandler: Code: 36. DB::Exception: Needle cannot be empty, because empty string isn't a token: In scope SELECT hasToken('', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:61: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56bb15 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:23:42.323577 [ 730 ] {4e58f1e7-904e-4671-a59a-303dd432a6ad} executeQuery: Code: 36. DB::Exception: Argument 'ttl' must be a literal, get Identifier_k (value: k). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:59760) (comment: 02811_invalid_embedded_rocksdb_create.sql) (in query: CREATE TABLE dict (`k` String, `v` String) ENGINE = EmbeddedRocksDB(k) PRIMARY KEY k;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000afc6048 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:25: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73fb01 7. /build/src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x00000000192ece5d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 14. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 18. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:42.324558 [ 730 ] {4e58f1e7-904e-4671-a59a-303dd432a6ad} TCPHandler: Code: 36. DB::Exception: Argument 'ttl' must be a literal, get Identifier_k (value: k). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000afc6048 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:25: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73fb01 7. /build/src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x00000000192ece5d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 14. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 18. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:43.783677 [ 1549 ] {8f19cd68-d877-415a-a61b-536f461c4b6e} executeQuery: Code: 70. DB::Exception: Value in column Int256 cannot be safely converted into type Int32: while executing 'FUNCTION in(__table1.i :: 2, __set_16094711066327757736_16191121013543805288 :: 1) -> in(__table1.i, __set_16094711066327757736_16191121013543805288) Nullable(UInt8) : 0'. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:59772) (comment: 02809_storage_set_analysis_bug.sql) (in query: SELECT count() = 1 FROM null_in__fuzz_6 PREWHERE 71 WHERE i IN (test_set);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab921ee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator()>, DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000ab8b43a 8. /build/src/Core/callOnTypeIndex.h:190: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000ab8a592 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab8a1f1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab8a146 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab8a0e0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab8a080 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab8a02b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:4523: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc682b 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6626 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc65c0 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6560 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc650b 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 23. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 24. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 28. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 29. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 30. /build/src/Interpreters/Set.cpp:331: DB::Set::execute(std::vector> const&, bool) const @ 0x000000001b8d2cd6 31. /build/src/Functions/in.cpp:150: DB::(anonymous namespace)::FunctionIn::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e6340aa 2025.03.05 21:23:43.790174 [ 1549 ] {8f19cd68-d877-415a-a61b-536f461c4b6e} TCPHandler: Code: 70. DB::Exception: Value in column Int256 cannot be safely converted into type Int32: while executing 'FUNCTION in(__table1.i :: 2, __set_16094711066327757736_16191121013543805288 :: 1) -> in(__table1.i, __set_16094711066327757736_16191121013543805288) Nullable(UInt8) : 0'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab921ee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator()>, DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000ab8b43a 8. /build/src/Core/callOnTypeIndex.h:190: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000ab8a592 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab8a1f1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab8a146 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab8a0e0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab8a080 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab8a02b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:4523: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc682b 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6626 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc65c0 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6560 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc650b 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 23. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 24. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 28. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 29. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 30. /build/src/Interpreters/Set.cpp:331: DB::Set::execute(std::vector> const&, bool) const @ 0x000000001b8d2cd6 31. /build/src/Functions/in.cpp:150: DB::(anonymous namespace)::FunctionIn::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e6340aa 2025.03.05 21:23:50.228593 [ 5772 ] {aae08a77-c9ba-4961-93c0-0bdc45223bf7} executeQuery: Code: 48. DB::Exception: ColumnObject must be converted to ColumnTuple before use: While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44114) (comment: 02789_object_type_invalid_num_of_rows.sql) (in query: SELECT '0.02' GROUP BY GROUPING SETS (('6553.6'), (CAST('{"x" : 1}', 'Object(\'json\')'))) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Columns/ColumnObject.h:259: DB::ColumnObject::throwMustBeConcrete() @ 0x000000001bf208fb 7. ? @ 0x000000001bf1ad7d 8. /build/src/Interpreters/AggregationCommon.h:275: void DB::Aggregator::executeImplBatch, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a967761 9. /build/src/Interpreters/Aggregator.cpp:1036: void DB::Aggregator::executeImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9674ef 10. /build/src/Interpreters/Aggregator.cpp:984: void DB::Aggregator::executeImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d2e55 11. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a72900c 12. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 14. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:23:50.231058 [ 5772 ] {aae08a77-c9ba-4961-93c0-0bdc45223bf7} TCPHandler: Code: 48. DB::Exception: ColumnObject must be converted to ColumnTuple before use: While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Columns/ColumnObject.h:259: DB::ColumnObject::throwMustBeConcrete() @ 0x000000001bf208fb 7. ? @ 0x000000001bf1ad7d 8. /build/src/Interpreters/AggregationCommon.h:275: void DB::Aggregator::executeImplBatch, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a967761 9. /build/src/Interpreters/Aggregator.cpp:1036: void DB::Aggregator::executeImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodSerialized, char*, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9674ef 10. /build/src/Interpreters/Aggregator.cpp:984: void DB::Aggregator::executeImpl, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>>(DB::AggregationMethodSerialized, HashTableNoState>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d2e55 11. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a72900c 12. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 14. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:23:52.945627 [ 1582 ] {18fc7f0e-85a9-48bd-94f3-46ef9c9306c7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000140709 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48274) (comment: 02786_max_execution_time_leaf.sql) (in query: SELECT count() AS `count()` FROM view(SELECT * FROM numbers(100000000000)) AS `__table1`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:52.945713 [ 1584 ] {ca92d360-9aa2-484f-972b-1406c934c19a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000059355 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:52032) (comment: 02786_max_execution_time_leaf.sql) (in query: SELECT count() AS `count()` FROM view(SELECT * FROM numbers(100000000000)) AS `__table1`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:52.947227 [ 1584 ] {ca92d360-9aa2-484f-972b-1406c934c19a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000059355 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:52.947449 [ 1582 ] {18fc7f0e-85a9-48bd-94f3-46ef9c9306c7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.000140709 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:53.030372 [ 5772 ] {749fccb7-c074-4b73-ae25-67aea6c7a622} executeQuery: Code: 159. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Timeout exceeded: elapsed 1.000140709 seconds, maximum: 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 : While executing Remote. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:44144) (comment: 02786_max_execution_time_leaf.sql) (in query: SELECT count() FROM cluster('test_cluster_two_shards', view( SELECT * FROM numbers(100000000000) )) SETTINGS max_execution_time_leaf = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/IO/ReadHelpers.cpp:1560: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013368d82 7. /build/src/Client/Connection.cpp:1233: DB::Connection::receiveException() const @ 0x000000001d2bca59 8. /build/src/Client/Connection.cpp:1070: DB::Connection::receivePacket() @ 0x000000001d2c3fb1 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001d330ea4 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000019ebcc69 11. /build/src/Common/Fiber.h:76: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x0000000019ebcb78 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ebcb08 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: ? @ 0x0000000019ebcac8 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x0000000019ebc9fe 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x0000000019ebc71d 2025.03.05 21:23:53.037873 [ 5772 ] {749fccb7-c074-4b73-ae25-67aea6c7a622} TCPHandler: Code: 159. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Timeout exceeded: elapsed 1.000140709 seconds, maximum: 1. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e955cc 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:111: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x0000000019e949d9 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:127: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x0000000019e948e8 8. /build/src/Interpreters/ProcessList.cpp:482: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a525e 9. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 10. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 11. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 : While executing Remote. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/IO/ReadHelpers.cpp:1560: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013368d82 7. /build/src/Client/Connection.cpp:1233: DB::Connection::receiveException() const @ 0x000000001d2bca59 8. /build/src/Client/Connection.cpp:1070: DB::Connection::receivePacket() @ 0x000000001d2c3fb1 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001d330ea4 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000019ebcc69 11. /build/src/Common/Fiber.h:76: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x0000000019ebcb78 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ebcb08 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: ? @ 0x0000000019ebcac8 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x0000000019ebc9fe 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x0000000019ebc71d 2025.03.05 21:23:54.559812 [ 730 ] {c76028e0-6c42-48d2-ad47-f36aab3e8211} executeQuery: Code: 6. DB::Exception: Cannot parse ignore_data_skipping_indices (''). (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:44180) (comment: 02771_ignore_data_skipping_indices.sql) (in query: SELECT * FROM data_02771 SETTINGS ignore_data_skipping_indices='';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001dd5b2fc 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1546: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x000000001dd5aaf4 8. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 9. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 10. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:54.560891 [ 730 ] {c76028e0-6c42-48d2-ad47-f36aab3e8211} TCPHandler: Code: 6. DB::Exception: Cannot parse ignore_data_skipping_indices (''). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1451: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001dd5b2fc 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1546: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x000000001dd5aaf4 8. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 9. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 10. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:54.903012 [ 730 ] {8f3b165a-60bd-4abb-b5d1-69c8c5f21323} executeQuery: Code: 277. DB::Exception: Index `xy_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:44180) (comment: 02771_ignore_data_skipping_indices.sql) (in query: SELECT * FROM data_02771 WHERE x = 1 AND y = 1 SETTINGS ignore_data_skipping_indices='xy_idx',force_data_skipping_indices='xy_idx' ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:23:54.904421 [ 730 ] {8f3b165a-60bd-4abb-b5d1-69c8c5f21323} TCPHandler: Code: 277. DB::Exception: Index `xy_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:05.809487 [ 1582 ] {d3d7206d-4f14-4aae-9cf8-2cca4287e5ff} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33000) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format JSON settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:24:05.823278 [ 1582 ] {d3d7206d-4f14-4aae-9cf8-2cca4287e5ff} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:06.100590 [ 1582 ] {75eb2e09-8413-4828-88a2-518677913b11} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONEachRowRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33014) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format JSONEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:24:06.111459 [ 1582 ] {75eb2e09-8413-4828-88a2-518677913b11} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONEachRowRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:06.450262 [ 1582 ] {0dca735d-0623-47a9-ad19-cb1ad25abc19} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONCompactRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33030) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format JSONCompact settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp:23: DB::JSONCompactRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d739edd 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:24:06.464842 [ 1582 ] {0dca735d-0623-47a9-ad19-cb1ad25abc19} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONCompactRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp:23: DB::JSONCompactRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d739edd 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:06.716720 [ 1582 ] {a01ce7c0-dfdc-4f8f-a62d-d76d504ad899} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONCompactEachRowRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33044) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format JSONCompactEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp:39: DB::JSONCompactEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d734fe9 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 21:24:06.721880 [ 1582 ] {a01ce7c0-dfdc-4f8f-a62d-d76d504ad899} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONCompactEachRowRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp:39: DB::JSONCompactEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d734fe9 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:07.075145 [ 1549 ] {4c3d0819-c3a4-4bb2-b543-4cc3c6758d4c} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONObjectEachRowRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33046) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format JSONObjectEachRow settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:22: DB::JSONObjectEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74699a 12. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 14. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:33: DB::JSONObjectEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d746b13 15. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 16. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 29. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 2025.03.05 21:24:07.086773 [ 1549 ] {4c3d0819-c3a4-4bb2-b543-4cc3c6758d4c} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONObjectEachRowRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:22: DB::JSONObjectEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74699a 12. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 14. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:33: DB::JSONObjectEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d746b13 15. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 16. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 29. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:07.412980 [ 1549 ] {64a384bd-c2e5-4b29-aa11-68f7a42c1ca8} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing XMLRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33048) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 order by x format XML settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:133: DB::SerializationEnum<_BitInt(8)>::serializeTextXML(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff80d4 9. /build/src/Processors/Formats/Impl/XMLRowOutputFormat.cpp:77: DB::XMLRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001da0a2c0 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 21:24:07.426743 [ 1549 ] {64a384bd-c2e5-4b29-aa11-68f7a42c1ca8} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing XMLRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:133: DB::SerializationEnum<_BitInt(8)>::serializeTextXML(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff80d4 9. /build/src/Processors/Formats/Impl/XMLRowOutputFormat.cpp:77: DB::XMLRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001da0a2c0 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:07.747232 [ 1549 ] {b1ca6bb5-f987-41f7-8bc8-df22baa62df3} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:33054) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:24:07.760397 [ 1549 ] {b1ca6bb5-f987-41f7-8bc8-df22baa62df3} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:09.030620 [ 1584 ] {ab4c302d-fc52-4d8c-9fdd-d3e6c664a3e5} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:47692) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSONCompact settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp:23: DB::JSONCompactRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d739edd 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:24:09.037534 [ 1584 ] {ab4c302d-fc52-4d8c-9fdd-d3e6c664a3e5} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp:23: DB::JSONCompactRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d739edd 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:10.527543 [ 1582 ] {8eb6a603-06e4-4fd3-9d18-7c0aa7760248} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:47708) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSONObjectEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:22: DB::JSONObjectEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74699a 12. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 14. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:33: DB::JSONObjectEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d746b13 15. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 16. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 17. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 29. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 2025.03.05 21:24:10.543800 [ 1582 ] {8eb6a603-06e4-4fd3-9d18-7c0aa7760248} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:22: DB::JSONObjectEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74699a 12. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 14. /build/src/Processors/Formats/Impl/JSONObjectEachRowRowOutputFormat.cpp:33: DB::JSONObjectEachRowRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d746b13 15. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 16. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 17. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 29. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:11.140533 [ 1584 ] {c306ee3b-65ae-4e85-9de3-3d1c150c830f} executeQuery: Code: 117. DB::Exception: Incorrect state of aggregate function 'nothingNull', it should contain exactly one zero byte, while it is 1: In scope SELECT CAST('\0', 'AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))'). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:49500) (comment: 02731_nothing_deserialization.sql) (in query: SELECT CAST('\x01\x00' AS AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned int&&) @ 0x0000000015cf186c 6. /build/src/AggregateFunctions/AggregateFunctionNothing.h:101: DB::AggregateFunctionNothingImpl::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015cf2998 7. /build/src/AggregateFunctions/Combinators/AggregateFunctionArray.h:160: DB::AggregateFunctionArray::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015eff383 8. /build/src/AggregateFunctions/Combinators/AggregateFunctionIf.h:194: DB::AggregateFunctionIf::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015f478a3 9. /build/src/AggregateFunctions/Combinators/AggregateFunctionNull.h:181: DB::AggregateFunctionNullBase>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015f5e033 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 11. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 12. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 13. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:24:11.141447 [ 1584 ] {c306ee3b-65ae-4e85-9de3-3d1c150c830f} TCPHandler: Code: 117. DB::Exception: Incorrect state of aggregate function 'nothingNull', it should contain exactly one zero byte, while it is 1: In scope SELECT CAST('\0', 'AggregateFunction(nothingArrayIf, Array(Nullable(Nothing)), Nullable(Nothing))'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned int&&) @ 0x0000000015cf186c 6. /build/src/AggregateFunctions/AggregateFunctionNothing.h:101: DB::AggregateFunctionNothingImpl::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015cf2998 7. /build/src/AggregateFunctions/Combinators/AggregateFunctionArray.h:160: DB::AggregateFunctionArray::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015eff383 8. /build/src/AggregateFunctions/Combinators/AggregateFunctionIf.h:194: DB::AggregateFunctionIf::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015f478a3 9. /build/src/AggregateFunctions/Combinators/AggregateFunctionNull.h:181: DB::AggregateFunctionNullBase>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000015f5e033 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 11. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 12. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 13. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:24:11.884960 [ 1584 ] {589da806-bb39-499d-a403-ac7db86c97e7} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:47722) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSONEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:24:11.899033 [ 1584 ] {589da806-bb39-499d-a403-ac7db86c97e7} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp:29: DB::JSONEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d7409ce 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:12.186409 [ 1549 ] {d4ebea41-3c38-41ed-81ba-8a52136dda3e} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:49512) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:12.187224 [ 1549 ] {d4ebea41-3c38-41ed-81ba-8a52136dda3e} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:13.116593 [ 1549 ] {987f1c60-737a-4619-871f-517a47852696} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:47734) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSONCompactEachRow settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp:39: DB::JSONCompactEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d734fe9 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 21. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 22. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 26. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:24:13.123016 [ 1549 ] {987f1c60-737a-4619-871f-517a47852696} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowOutputFormat.cpp:39: DB::JSONCompactEachRowRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d734fe9 10. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 11. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 13. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 21. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 22. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 26. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:27.097530 [ 1549 ] {ba01a999-95a7-4949-afa8-be9ec7ce1cc4} executeQuery: Code: 130. DB::Exception: Array does not start with '[' character: value Hello cannot be parsed as Array(String) for query parameter 'x'. (CANNOT_READ_ARRAY_FROM_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:36710) (comment: 02723_param_exception_message_context.sh) (in query: SELECT {x:Array(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:440: void DB::deserializeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&, bool) @ 0x0000000019fe13fc 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:539: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000019fe11f2 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:47: DB::SimpleTextSerialization::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000aa2b974 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:95: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb90f3c 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 19. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:27.100674 [ 1549 ] {ba01a999-95a7-4949-afa8-be9ec7ce1cc4} TCPHandler: Code: 130. DB::Exception: Array does not start with '[' character: value Hello cannot be parsed as Array(String) for query parameter 'x'. (CANNOT_READ_ARRAY_FROM_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:440: void DB::deserializeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&, bool) @ 0x0000000019fe13fc 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:539: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x0000000019fe11f2 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:47: DB::SimpleTextSerialization::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000aa2b974 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:95: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb90f3c 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 19. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:31.934201 [ 1549 ] {5f0997e0-a6a7-4b25-9d89-7749f8721938} ~StorageFileSource: Failed to rename file /var/lib/clickhouse/user_files/02732_rename_after_processing_test_zghe4e8f/tmp5.csv: File /var/lib/clickhouse/user_files/02732_rename_after_processing_test_zghe4e8f/tmp.csv already exists 2025.03.05 21:24:32.151242 [ 6379 ] {2d4c6075-724e-4ba3-b8c2-239842e14daf} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:51386) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:24:32.158476 [ 6379 ] {2d4c6075-724e-4ba3-b8c2-239842e14daf} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:33.337303 [ 1549 ] {be1fb807-fe09-4e11-8477-98d8559f5d0f} executeQuery: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.337460 [ 6379 ] {3927bc83-16d5-40d1-8d29-f377be69f3d7} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:51396) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:24:33.338139 [ 1549 ] {be1fb807-fe09-4e11-8477-98d8559f5d0f} TCPHandler: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.347667 [ 6379 ] {3927bc83-16d5-40d1-8d29-f377be69f3d7} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:33.352120 [ 1549 ] {a12a08ad-261f-4036-a404-b2eda64c6e4e} executeQuery: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.352925 [ 1549 ] {a12a08ad-261f-4036-a404-b2eda64c6e4e} TCPHandler: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.367588 [ 1549 ] {c2c9bbf6-9f44-4458-95ff-e8c98ef9e418} executeQuery: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(1, toUInt64(0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold(1, toUInt64(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.368344 [ 1549 ] {c2c9bbf6-9f44-4458-95ff-e8c98ef9e418} TCPHandler: Code: 42. DB::Exception: Function arrayFold requires as arguments a lambda function, at least one array and an accumulator: In scope SELECT arrayFold(1, toUInt64(0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:67: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9975 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.538623 [ 1549 ] {0d5f79e5-759c-4df6-b8a9-1e3fb3e36efb} executeQuery: Code: 43. DB::Exception: First argument for function arrayFold must be a function: In scope SELECT arrayFold(1, emptyArrayUInt64(), toUInt64(0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold(1, emptyArrayUInt64(), toUInt64(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:71: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9aab 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.539461 [ 1549 ] {0d5f79e5-759c-4df6-b8a9-1e3fb3e36efb} TCPHandler: Code: 43. DB::Exception: First argument for function arrayFold must be a function: In scope SELECT arrayFold(1, emptyArrayUInt64(), toUInt64(0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:71: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9aab 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.721185 [ 1549 ] {916c979b-bf4d-49f8-af9f-11fd4649b90f} executeQuery: Code: 53. DB::Exception: Return type of lambda function must be the same as the accumulator type, inferred return type of lambda: String, inferred type of accumulator: Int8: In scope SELECT arrayFold((acc, x) -> x, emptyArrayString(), toInt8(0)). (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold( acc,x -> x, emptyArrayString(), toInt8(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/arrayFold.cpp:76: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9c8c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.722073 [ 1549 ] {916c979b-bf4d-49f8-af9f-11fd4649b90f} TCPHandler: Code: 53. DB::Exception: Return type of lambda function must be the same as the accumulator type, inferred return type of lambda: String, inferred type of accumulator: Int8: In scope SELECT arrayFold((acc, x) -> x, emptyArrayString(), toInt8(0)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/arrayFold.cpp:76: DB::FunctionArrayFold::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012bf9c8c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:24:33.909015 [ 1549 ] {fea5102b-b7a9-47ec-8fb7-29899b37c4c9} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayFold must be of type Array, found String instead. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold( acc,x -> x, 'not an array', toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/arrayFold.cpp:52: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa08d 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:33.909974 [ 1549 ] {fea5102b-b7a9-47ec-8fb7-29899b37c4c9} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayFold must be of type Array, found String instead. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/arrayFold.cpp:52: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa08d 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:33.936605 [ 1549 ] {2b76d8dd-a24c-4ad5-85e5-162b8ce8c73a} executeQuery: Code: 43. DB::Exception: Argument 3 of function arrayFold must be of type Array, found String instead. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold( acc,x,y -> x, [0, 1], 'not an array', toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/arrayFold.cpp:52: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa08d 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:33.937396 [ 1549 ] {2b76d8dd-a24c-4ad5-85e5-162b8ce8c73a} TCPHandler: Code: 43. DB::Exception: Argument 3 of function arrayFold must be of type Array, found String instead. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/arrayFold.cpp:52: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa08d 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:34.123633 [ 1549 ] {a8d1d142-3ff3-4974-a26d-343e23d03470} executeQuery: Code: 43. DB::Exception: First argument of function arrayFold must be a lambda function with 3 arguments, found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold( acc,x -> x, [0, 1], [2, 3], toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/array/arrayFold.cpp:58: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa313 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:34.124646 [ 1549 ] {a8d1d142-3ff3-4974-a26d-343e23d03470} TCPHandler: Code: 43. DB::Exception: First argument of function arrayFold must be a lambda function with 3 arguments, found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/array/arrayFold.cpp:58: DB::FunctionArrayFold::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012bfa313 7. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 8. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:24:34.364724 [ 1549 ] {9786107f-0841-478c-afd1-07448cd59763} executeQuery: Code: 190. DB::Exception: arrays_data_with_type_and_name passed to arrayFold must have equal size: while executing 'FUNCTION arrayFold(acc UInt8, x UInt8, y UInt8 -> x :: 1, _CAST([0, 1]_Array(UInt8), 'Array(UInt8)'_String) :: 2, _CAST([2, 3, 4]_Array(UInt8), 'Array(UInt8)'_String) :: 3, _CAST(0_UInt8, 'UInt8'_String) :: 4) -> arrayFold(acc UInt8, x UInt8, y UInt8 -> x, _CAST([0, 1]_Array(UInt8), 'Array(UInt8)'_String), _CAST([2, 3, 4]_Array(UInt8), 'Array(UInt8)'_String), _CAST(0_UInt8, 'UInt8'_String)) UInt8 : 5'. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:33028) (comment: 02718_array_fold.sql) (in query: SELECT arrayFold( acc,x,y -> x, [0, 1], [2, 3, 4], toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:131: DB::FunctionArrayFold::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012bf80de 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 8. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 9. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 10. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 11. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 12. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 20. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 21. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 2025.03.05 21:24:34.366190 [ 1549 ] {9786107f-0841-478c-afd1-07448cd59763} TCPHandler: Code: 190. DB::Exception: arrays_data_with_type_and_name passed to arrayFold must have equal size: while executing 'FUNCTION arrayFold(acc UInt8, x UInt8, y UInt8 -> x :: 1, _CAST([0, 1]_Array(UInt8), 'Array(UInt8)'_String) :: 2, _CAST([2, 3, 4]_Array(UInt8), 'Array(UInt8)'_String) :: 3, _CAST(0_UInt8, 'UInt8'_String) :: 4) -> arrayFold(acc UInt8, x UInt8, y UInt8 -> x, _CAST([0, 1]_Array(UInt8), 'Array(UInt8)'_String), _CAST([2, 3, 4]_Array(UInt8), 'Array(UInt8)'_String), _CAST(0_UInt8, 'UInt8'_String)) UInt8 : 5'. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayFold.cpp:131: DB::FunctionArrayFold::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012bf80de 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 8. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 9. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 10. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 11. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 12. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 20. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 21. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 2025.03.05 21:24:35.486788 [ 730 ] {eaaf7183-66be-42a6-a1e5-591d86658d07} executeQuery: Code: 705. DB::Exception: Table data_02716_1 is not empty. (TABLE_NOT_EMPTY) (version 24.3.12.76.altinitystable) (from [::1]:33048) (comment: 02716_drop_if_empty.sql) (in query: DROP TABLE IF EMPTY data_02716_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterDropQuery.cpp:139: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03af3c 7. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 8. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:35.487843 [ 730 ] {eaaf7183-66be-42a6-a1e5-591d86658d07} TCPHandler: Code: 705. DB::Exception: Table data_02716_1 is not empty. (TABLE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterDropQuery.cpp:139: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03af3c 7. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 8. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:35.679090 [ 730 ] {9da98922-6cb9-4710-8343-c999cda3ac94} executeQuery: Code: 48. DB::Exception: DROP IF EMPTY is not implemented for databases. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:33048) (comment: 02716_drop_if_empty.sql) (in query: DROP DATABASE IF EMPTY test_sn95ktbd_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterDropQuery.cpp:375: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03d9e3 7. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:35.679962 [ 730 ] {9da98922-6cb9-4710-8343-c999cda3ac94} TCPHandler: Code: 48. DB::Exception: DROP IF EMPTY is not implemented for databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterDropQuery.cpp:375: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03d9e3 7. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:36.179476 [ 1549 ] {bd32746e-5203-4858-bb8c-0971ecd113b3} ~StorageFileSource: Failed to rename file /var/lib/clickhouse/user_files/02732_rename_after_processing_test_zghe4e8f/tmp5.csv: File `/var/lib/clickhouse/tmp5.csv` is not inside `/var/lib/clickhouse/user_files/` 2025.03.05 21:24:39.386301 [ 1549 ] {fd115954-30c8-4c48-b69c-2e6e67c8f4d8} executeQuery: Code: 36. DB::Exception: 'lifetime' parameter is redundant for the dictionary' of layout 'direct'. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:46636) (comment: 02716_create_direct_dict_with_lifetime_throws.sql) (in query: CREATE DICTIONARY dict(`key` UInt64,`value` String) PRIMARY KEY key SOURCE(CLICKHOUSE(table 'dict_source')) LAYOUT(DIRECT()) LIFETIME(0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:584: DB::checkLifetime(DB::ASTCreateQuery const&) @ 0x000000001a08705d 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:596: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a087107 8. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:39.387820 [ 1549 ] {fd115954-30c8-4c48-b69c-2e6e67c8f4d8} TCPHandler: Code: 36. DB::Exception: 'lifetime' parameter is redundant for the dictionary' of layout 'direct'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:584: DB::checkLifetime(DB::ASTCreateQuery const&) @ 0x000000001a08705d 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:596: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a087107 8. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:40.146056 [ 730 ] {4d84d45f-af0e-4498-85dd-a19598313d3e} executeQuery: Code: 36. DB::Exception: Invalid renaming rule: Allowed placeholders only %a, %f, %e, %t, and %%. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:46666) (comment: 02732_rename_after_processing.sh) (in query: SELECT COUNT(*) FROM file('02732_rename_after_processing_test_zghe4e8f/tmp5.csv')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FileRenamer.cpp:77: DB::FileRenamer::validateRenamingRule(String const&, bool) @ 0x000000001c39207f 7. /build/src/Common/FileRenamer.cpp:30: DB::FileRenamer::FileRenamer(String const&) @ 0x000000001c391f4f 8. /build/src/Storages/StorageFile.cpp:1019: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c3732e5 9. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 15. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 16. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 18. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:24:40.148342 [ 730 ] {4d84d45f-af0e-4498-85dd-a19598313d3e} TCPHandler: Code: 36. DB::Exception: Invalid renaming rule: Allowed placeholders only %a, %f, %e, %t, and %%. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FileRenamer.cpp:77: DB::FileRenamer::validateRenamingRule(String const&, bool) @ 0x000000001c39207f 7. /build/src/Common/FileRenamer.cpp:30: DB::FileRenamer::FileRenamer(String const&) @ 0x000000001c391f4f 8. /build/src/Storages/StorageFile.cpp:1019: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c3732e5 9. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 15. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 16. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 18. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:24:43.836344 [ 5772 ] {c231deb2-7636-47a7-80e4-ec37d8fedb41} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/test_j9asf608/test/replicas/replica-4bb69c94-ec1c-4425-820b-310e6a1b9a54 already exists. (REPLICA_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:46686) (comment: 02711_server_uuid_macro.sql) (in query: CREATE TABLE test2 (`x` UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test', 'replica-{server_uuid}') ORDER BY x SETTINGS index_granularity = 55964, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 52927773, compact_parts_max_bytes_to_buffer = 402124309, compact_parts_max_granules_to_buffer = 1, compact_parts_merge_max_bytes_to_prefetch_part = 18894770, merge_max_block_size = 4863, old_parts_lifetime = 480., prefer_fetch_merged_part_size_threshold = 7235488136, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 26, min_merge_bytes_to_use_direct_io = 10312359364, index_granularity_bytes = 30893410, concurrent_part_removal_threshold = 23, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = false, marks_compress_block_size = 15729, primary_key_compress_block_size = 98444), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1065: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001c4bb693 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:537: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, DB::RenamingRestrictions, bool) @ 0x000000001c4b17b9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8e38 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8b02 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8754 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e851f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e6288 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:726: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3e08 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:24:43.837442 [ 5772 ] {c231deb2-7636-47a7-80e4-ec37d8fedb41} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/test_j9asf608/test/replicas/replica-4bb69c94-ec1c-4425-820b-310e6a1b9a54 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1065: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001c4bb693 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:537: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, DB::RenamingRestrictions, bool) @ 0x000000001c4b17b9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8e38 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8b02 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8754 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e851f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e6288 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:726: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3e08 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:24:44.004003 [ 5772 ] {99bdcd16-8e37-457c-8d67-dd020f139ed5} executeQuery: Code: 139. DB::Exception: No macro server_uuid in config: In scope SELECT getMacro('server_uuid'). (NO_ELEMENTS_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:46686) (comment: 02711_server_uuid_macro.sql) (in query: -- The macro {server_uuid} is special, not a configuration-type macro. It's normal that it is inaccessible with the getMacro function. SELECT getMacro('server_uuid');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/Macros.cpp:168: DB::Macros::getValue(String const&) const @ 0x00000000132e1f7b 7. /build/src/Functions/getMacro.cpp:78: DB::(anonymous namespace)::FunctionGetMacro::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000da4747f 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:24:44.005037 [ 5772 ] {99bdcd16-8e37-457c-8d67-dd020f139ed5} TCPHandler: Code: 139. DB::Exception: No macro server_uuid in config: In scope SELECT getMacro('server_uuid'). (NO_ELEMENTS_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/Macros.cpp:168: DB::Macros::getValue(String const&) const @ 0x00000000132e1f7b 7. /build/src/Functions/getMacro.cpp:78: DB::(anonymous namespace)::FunctionGetMacro::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000da4747f 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:24:44.243630 [ 6379 ] {844a3504-c748-4589-bb8b-4de1fcaaa9c1} executeQuery: Code: 36. DB::Exception: Invalid renaming rule: Odd number of consecutive percentage signs. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:46700) (comment: 02732_rename_after_processing.sh) (in query: SELECT COUNT(*) FROM file('02732_rename_after_processing_test_zghe4e8f/tmp5.csv')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FileRenamer.cpp:90: DB::FileRenamer::validateRenamingRule(String const&, bool) @ 0x000000001c39226e 7. /build/src/Common/FileRenamer.cpp:30: DB::FileRenamer::FileRenamer(String const&) @ 0x000000001c391f4f 8. /build/src/Storages/StorageFile.cpp:1019: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c3732e5 9. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 15. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 16. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 18. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:24:44.245627 [ 6379 ] {844a3504-c748-4589-bb8b-4de1fcaaa9c1} TCPHandler: Code: 36. DB::Exception: Invalid renaming rule: Odd number of consecutive percentage signs. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FileRenamer.cpp:90: DB::FileRenamer::validateRenamingRule(String const&, bool) @ 0x000000001c39226e 7. /build/src/Common/FileRenamer.cpp:30: DB::FileRenamer::FileRenamer(String const&) @ 0x000000001c391f4f 8. /build/src/Storages/StorageFile.cpp:1019: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c3732e5 9. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 15. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 16. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 18. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:24:44.838957 [ 1549 ] {06be5f4d-6047-4956-8295-37756b64c526} executeQuery: Code: 999. Coordination::Exception: Transaction failed (Node exists): Op #0, path: /test_keeper_map/test_3rc6mcxc/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION) (version 24.3.12.76.altinitystable) (from [::1]:46690) (comment: 02706_keeper_map_insert_strict.sql) (in query: INSERT INTO 02706_keeper_map_insert_strict VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, Coordination::Error&, unsigned long&) @ 0x000000001e1db94c 6. /build/src/Common/ZooKeeper/IKeeper.h:488: Coordination::Exception::Exception(Coordination::Error, FormatStringHelperImpl::type, std::type_identity::type>, Coordination::Error&, unsigned long&) @ 0x000000001e1c837d 7. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1420: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1ba267 8. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1429: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1ba428 9. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1444: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1b3f1c 10. /build/src/Common/ZooKeeper/ZooKeeper.cpp:691: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&, bool) @ 0x000000001e1b3e4d 11. /build/src/Storages/StorageKeeperMap.cpp:236: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000001c418a31 12. /build/src/Storages/StorageKeeperMap.cpp:162: DB::StorageKeeperMapSink::onFinish() @ 0x000000001c4167ca 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:186: DB::ExceptionKeepingTransform::work()::$_3::operator()() const @ 0x000000001da40edc 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40eb5 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40e95 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40e75 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da40e3d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:186: DB::ExceptionKeepingTransform::work() @ 0x000000001da40042 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 27. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 28. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 29. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:24:44.840019 [ 1549 ] {06be5f4d-6047-4956-8295-37756b64c526} TCPHandler: Code: 999. Coordination::Exception: Transaction failed (Node exists): Op #0, path: /test_keeper_map/test_3rc6mcxc/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, Coordination::Error&, unsigned long&) @ 0x000000001e1db94c 6. /build/src/Common/ZooKeeper/IKeeper.h:488: Coordination::Exception::Exception(Coordination::Error, FormatStringHelperImpl::type, std::type_identity::type>, Coordination::Error&, unsigned long&) @ 0x000000001e1c837d 7. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1420: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1ba267 8. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1429: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1ba428 9. /build/src/Common/ZooKeeper/ZooKeeper.cpp:1444: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001e1b3f1c 10. /build/src/Common/ZooKeeper/ZooKeeper.cpp:691: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&, bool) @ 0x000000001e1b3e4d 11. /build/src/Storages/StorageKeeperMap.cpp:236: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000001c418a31 12. /build/src/Storages/StorageKeeperMap.cpp:162: DB::StorageKeeperMapSink::onFinish() @ 0x000000001c4167ca 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:186: DB::ExceptionKeepingTransform::work()::$_3::operator()() const @ 0x000000001da40edc 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40eb5 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40e95 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40e75 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da40e3d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:186: DB::ExceptionKeepingTransform::work() @ 0x000000001da40042 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 27. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 28. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 29. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:24:52.634188 [ 6899 ] {05de7db4-5048-4d29-87f0-376bc3381808} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 117. DB::Exception: Size of BSON document is extremely large. Expected not greater than 12558476 bytes, but current is 268435456 bytes per row. Increase the value setting 'min_chunk_bytes_for_parallel_parsing' or check your data manually, most likely BSON is malformed. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned int&) @ 0x000000000e5523ac 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1037: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628cd9 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:24:52.641836 [ 5772 ] {05de7db4-5048-4d29-87f0-376bc3381808} executeQuery: Code: 117. DB::Exception: Size of BSON document is extremely large. Expected not greater than 12558476 bytes, but current is 268435456 bytes per row. Increase the value setting 'min_chunk_bytes_for_parallel_parsing' or check your data manually, most likely BSON is malformed: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:56478) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned int&) @ 0x000000000e5523ac 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1037: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628cd9 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:52.642920 [ 5772 ] {05de7db4-5048-4d29-87f0-376bc3381808} TCPHandler: Code: 117. DB::Exception: Size of BSON document is extremely large. Expected not greater than 12558476 bytes, but current is 268435456 bytes per row. Increase the value setting 'min_chunk_bytes_for_parallel_parsing' or check your data manually, most likely BSON is malformed: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned int&) @ 0x000000000e5523ac 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1037: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628cd9 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:24:53.287470 [ 730 ] {e5f31544-6b23-40be-914d-5c58efe5dc04} executeQuery: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:56496) (comment: 02683_native_too_large_size.sql) (in query: SELECT * FROM format('Native', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int32, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, VindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$i WatchIDInt64c*5/ !p~ úFÚÓ“2ql!è–|¨@H²Ç=ÐŒWéòˆE&Ly¹ãk=÷±pæ1þž oíC»-ÞC_ìÒŒ\Û/E‚ÜJÛ{ JavaEnableInt16TitleString GoodEventInt16 EventTimeDateTime7ðâQn$äQÃ)äQ8*äQJîâQÉ ãQµ0äQ83äQ× äQÖ1ãQ EventDateDate>>>>>>>>>> CounterIDInt32ClientIPInt32®Æz·®Æz·®Æz·®Æz·º‹I`®Æz·É^{]É^{]gU®Æz·RegionIDInt32GGGG'GÅÅåGUserIDInt64× ’•:6×Ý× ’•:6×Ý× ’•:6×Ý× ’•:6×Ýq—íJd8 ÎKs}¡ï&n%Št"6&n%Št"6ƒs—yyçóf× ’•:6×Ý CounterClassInt16OSInt16'', UserAgentInt16URLString-http://holodilInt16WindowClientWidthInt16WindowClientHeightInt16ClientTimeZoneInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿClientEventTimeDateTimeîáîáîáîáîáîáîáîáîáîáSilverlightVersion1Int16SilverlightVersion2Int16SilverlightVersion3Int32SilverlightVersion4Int16 PageCharsetString CodeVersionInt32IsLinkInt16 IsDownloadInt16 IsNotBounceInt16FUniqIDInt64%œlû©+k:¤ìWëÂm OriginalURLStringHIDInt32 IsOldCounterInt16IsEventInt16 IsParameterInt16 DontCountHitsInt16WithHashInt16HitColorString5555555555LocalEventTimeDateTime&·ãQǘãQ}žãQÝžãQ'¡ãQA¶ãQ¼£ãQ ¦ãQY’ãQ‹ÏãQAgeInt16SexInt16IncomeInt16 InterestsInt16¦: RobotnessInt16RemoteIPInt32^DIÄ^DIÄ^DIÄ^DIÄ9ê3N^DIÄ…U…U€=k^DIÄ WindowNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ OpenerNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ HistoryLengthInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBrowserLanguageString����������BrowserCountryString� � � � � � � � � � SocialNetworkString SocialActionString HTTPErrorInt16 SendTimingInt32 DNSTimingInt32 ConnectTimingInt32ResponseStartTimingInt32ResponseEndTimingInt32 FetchTimingInt32SocialSourceNetworkIDInt16SocialSourcePageString ParamPriceInt64 ParamOrderIDString ParamCurrencyStringNHNHNHNHNHNHNHNHNHNHParamCurrencyIDInt16OpenstatServiceNameStringOpenstatCampaignIDString OpenstatAdIDStringOpenstatSourceIDString UTMSourceString UTMMediumString UTMCampaignString UTMContentStringUTMTermStringFromTagStringHasGCLIDInt16 RefererHashInt64X+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûURLHashInt64Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Ž oâïòeý€ à#â\X-h³ýX vÀvÍÀ‰Çh˜´9›DÍ|3úÐb.‹CLIDInt32$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/DataTypes/Serializations/SerializationString.cpp:168: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x000000001a0572dd 7. /build/src/DataTypes/Serializations/SerializationString.cpp:259: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001a05631e 8. /build/src/DataTypes/Serializations/ISerialization.cpp:146: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000019fcf81a 9. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 10. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 11. /build/src/Processors/Formats/Impl/NativeFormat.cpp:42: DB::NativeInputFormat::read() @ 0x000000001d782a91 12. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 13. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 14. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 19. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 21. /build/src/TableFunctions/TableFunctionFormat.cpp:117: DB::(anonymous namespace)::TableFunctionFormat::parseData(DB::ColumnsDescription const&, String const&, std::shared_ptr const&) const @ 0x0000000018db444f 22. /build/src/TableFunctions/TableFunctionFormat.cpp:145: DB::(anonymous namespace)::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018db3c38 23. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 24. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:24:53.288400 [ 730 ] {e5f31544-6b23-40be-914d-5c58efe5dc04} TCPHandler: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/DataTypes/Serializations/SerializationString.cpp:168: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x000000001a0572dd 7. /build/src/DataTypes/Serializations/SerializationString.cpp:259: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001a05631e 8. /build/src/DataTypes/Serializations/ISerialization.cpp:146: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000019fcf81a 9. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 10. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 11. /build/src/Processors/Formats/Impl/NativeFormat.cpp:42: DB::NativeInputFormat::read() @ 0x000000001d782a91 12. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 13. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 14. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 19. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 21. /build/src/TableFunctions/TableFunctionFormat.cpp:117: DB::(anonymous namespace)::TableFunctionFormat::parseData(DB::ColumnsDescription const&, String const&, std::shared_ptr const&) const @ 0x0000000018db444f 22. /build/src/TableFunctions/TableFunctionFormat.cpp:145: DB::(anonymous namespace)::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018db3c38 23. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 24. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:24:56.136423 [ 730 ] {ad905b55-6824-44a8-9efe-52cf0524b68e} executeQuery: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing CSVRowInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:56504) (comment: 02681_group_array_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(CSV, 'entitypArray AggregateFunction(groupArray, String)', '295TMiews.viewNÿÿÿÿÿ""""""TabSeparÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿated d St"" r');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:400: DB::(anonymous namespace)::GroupArrayNodeBase::checkElementSize(unsigned long, unsigned long) @ 0x0000000013cc8e88 7. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:419: DB::(anonymous namespace)::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x0000000013cc8f2b 8. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:685: DB::(anonymous namespace)::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000013cef1ab 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:213: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd926 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:671: void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a027d00 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&), void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&&, void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a020f49 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:677: void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022821 14. /build/src/DataTypes/Serializations/SerializationNullable.cpp:783: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a01fd31 15. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:395: DB::CSVFormatReader::readFieldImpl(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d6747b8 16. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:387: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001d67445b 17. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:232: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f385 18. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 19. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 20. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 21. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 27. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 28. /build/src/TableFunctions/TableFunctionFormat.cpp:117: DB::(anonymous namespace)::TableFunctionFormat::parseData(DB::ColumnsDescription const&, String const&, std::shared_ptr const&) const @ 0x0000000018db444f 29. /build/src/TableFunctions/TableFunctionFormat.cpp:145: DB::(anonymous namespace)::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018db3c38 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 31. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 2025.03.05 21:24:56.137390 [ 730 ] {ad905b55-6824-44a8-9efe-52cf0524b68e} TCPHandler: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing CSVRowInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:400: DB::(anonymous namespace)::GroupArrayNodeBase::checkElementSize(unsigned long, unsigned long) @ 0x0000000013cc8e88 7. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:419: DB::(anonymous namespace)::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x0000000013cc8f2b 8. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:685: DB::(anonymous namespace)::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000013cef1ab 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:213: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd926 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:671: void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a027d00 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&), void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::ReadBuffer&)&&, void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a020f49 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:677: void DB::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022821 14. /build/src/DataTypes/Serializations/SerializationNullable.cpp:783: DB::SerializationNullable::deserializeNullAsDefaultOrNestedTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001a01fd31 15. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:395: DB::CSVFormatReader::readFieldImpl(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d6747b8 16. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:387: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001d67445b 17. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:232: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f385 18. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 19. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 20. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 21. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 27. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 28. /build/src/TableFunctions/TableFunctionFormat.cpp:117: DB::(anonymous namespace)::TableFunctionFormat::parseData(DB::ColumnsDescription const&, String const&, std::shared_ptr const&) const @ 0x0000000018db444f 29. /build/src/TableFunctions/TableFunctionFormat.cpp:145: DB::(anonymous namespace)::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018db3c38 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 31. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 2025.03.05 21:24:59.492570 [ 730 ] {8fa0be54-7386-4888-991f-a56d726a1f8c} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48178) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:24:59.505070 [ 730 ] {8fa0be54-7386-4888-991f-a56d726a1f8c} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:00.770704 [ 730 ] {2edfe368-9baa-41ab-83b3-522893c0949b} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48190) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:25:00.776940 [ 730 ] {2edfe368-9baa-41ab-83b3-522893c0949b} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:02.759526 [ 730 ] {6eb68e6e-36c7-49c3-a004-3f727c098742} executeQuery: Code: 44. DB::Exception: Illegal column '01GWJWKW30MFPQJRYEAF4XFZ9' of argument of function ULIDStringToDateTime, ULID must be 26 characters long: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9', 'America/Costa_Rica'). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:50224) (comment: 02668_ulid_decoding.sql) (in query: SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9', 'America/Costa_Rica');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, unsigned long const&) @ 0x000000000aa47168 6. /build/src/Functions/FunctionsCodingULID.cpp:124: DB::FunctionULIDStringToDateTime::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa5036b 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:02.760336 [ 730 ] {6eb68e6e-36c7-49c3-a004-3f727c098742} TCPHandler: Code: 44. DB::Exception: Illegal column '01GWJWKW30MFPQJRYEAF4XFZ9' of argument of function ULIDStringToDateTime, ULID must be 26 characters long: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9', 'America/Costa_Rica'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, unsigned long const&) @ 0x000000000aa47168 6. /build/src/Functions/FunctionsCodingULID.cpp:124: DB::FunctionULIDStringToDateTime::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa5036b 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:02.897205 [ 730 ] {0cd0dc72-4cf2-4ca2-9049-24d157e59501} executeQuery: Code: 36. DB::Exception: Cannot load time zone America/Costa_Ric: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E', 'America/Costa_Ric'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50224) (comment: 02668_ulid_decoding.sql) (in query: SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E', 'America/Costa_Ric');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000019eceb1c 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned int const&, String&) @ 0x000000000aa5230c 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned int const&, String&) @ 0x000000000aa520c9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned int const&, String&) @ 0x000000000aa51daf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned int const&, String&, void>(std::allocator const&, unsigned int const&, String&) @ 0x000000000aa51c1f 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned int const&, String&) @ 0x000000000aa51a8e 15. /build/src/Functions/FunctionsCodingULID.cpp:79: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa50bae 16. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 17. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 18. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 19. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:25:02.898058 [ 730 ] {0cd0dc72-4cf2-4ca2-9049-24d157e59501} TCPHandler: Code: 36. DB::Exception: Cannot load time zone America/Costa_Ric: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E', 'America/Costa_Ric'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x0000000019eceb1c 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned int const&, String&) @ 0x000000000aa5230c 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned int const&, String&) @ 0x000000000aa520c9 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned int const&, String&) @ 0x000000000aa51daf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned int const&, String&, void>(std::allocator const&, unsigned int const&, String&) @ 0x000000000aa51c1f 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned int const&, String&) @ 0x000000000aa51a8e 15. /build/src/Functions/FunctionsCodingULID.cpp:79: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa50bae 16. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 17. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 18. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 19. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:25:02.912439 [ 730 ] {1b159f23-a0f0-461a-b799-70b807b42330} executeQuery: Code: 44. DB::Exception: Illegal column '01GWJWKW30MFPQJRYEAF4XFZ9E0' of argument of function ULIDStringToDateTime, ULID must be 26 characters long: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E0'). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:50224) (comment: 02668_ulid_decoding.sql) (in query: SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, unsigned long const&) @ 0x000000000aa47168 6. /build/src/Functions/FunctionsCodingULID.cpp:124: DB::FunctionULIDStringToDateTime::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa5036b 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:02.913088 [ 730 ] {1b159f23-a0f0-461a-b799-70b807b42330} TCPHandler: Code: 44. DB::Exception: Illegal column '01GWJWKW30MFPQJRYEAF4XFZ9E0' of argument of function ULIDStringToDateTime, ULID must be 26 characters long: In scope SELECT ULIDStringToDateTime('01GWJWKW30MFPQJRYEAF4XFZ9E0'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, unsigned long const&) @ 0x000000000aa47168 6. /build/src/Functions/FunctionsCodingULID.cpp:124: DB::FunctionULIDStringToDateTime::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa5036b 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:03.079608 [ 730 ] {0828f577-e483-4f40-876e-0d9924d1878a} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: In scope SELECT ULIDStringToDateTime(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50224) (comment: 02668_ulid_decoding.sql) (in query: SELECT ULIDStringToDateTime(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa5091f 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:25:03.080499 [ 730 ] {0828f577-e483-4f40-876e-0d9924d1878a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: In scope SELECT ULIDStringToDateTime(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa5091f 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:25:03.097294 [ 730 ] {f65efcdd-ca9e-4ca0-b007-3c077bb3d549} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: In scope SELECT ULIDStringToDateTime(1, 2). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50224) (comment: 02668_ulid_decoding.sql) (in query: SELECT ULIDStringToDateTime(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa5091f 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:25:03.098117 [ 730 ] {f65efcdd-ca9e-4ca0-b007-3c077bb3d549} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function ULIDStringToDateTime. Must be String or FixedString(26).: In scope SELECT ULIDStringToDateTime(1, 2). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingULID.cpp:62: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aa5091f 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:25:06.662342 [ 1582 ] {08a1f62d-e958-4731-8bf9-67873a6005a8} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:06.663289 [ 1582 ] {08a1f62d-e958-4731-8bf9-67873a6005a8} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:06.808210 [ 1582 ] {38785d88-41c9-4436-af71-67861eb408df} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:141: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f7617 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:06.809266 [ 1582 ] {38785d88-41c9-4436-af71-67861eb408df} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:141: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f7617 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:06.829473 [ 1582 ] {9a7ffc65-a183-44ee-a70c-325126ecc525} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:06.830341 [ 1582 ] {9a7ffc65-a183-44ee-a70c-325126ecc525} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:06.853689 [ 1582 ] {52935a7f-bae8-4ee3-a7b9-2e3df64f8098} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:141: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f7617 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:06.854508 [ 1582 ] {52935a7f-bae8-4ee3-a7b9-2e3df64f8098} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:141: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f7617 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.228111 [ 1582 ] {90d8addd-8e85-423f-bb12-4a69020bd11f} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f746d 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.229208 [ 1582 ] {90d8addd-8e85-423f-bb12-4a69020bd11f} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f746d 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.380189 [ 1582 ] {bd499c3c-c91f-47c5-af21-a8c84e6ba490} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK('abc', 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f778f 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.381615 [ 1582 ] {bd499c3c-c91f-47c5-af21-a8c84e6ba490} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f778f 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.404436 [ 1582 ] {4841741e-e889-435e-a9a2-41f628e852bb} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(1.23, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f778f 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.405536 [ 1582 ] {4841741e-e889-435e-a9a2-41f628e852bb} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f778f 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.570012 [ 730 ] {d2e32272-2b93-4c4f-8b75-db76cccf44ea} executeQuery: Code: 36. DB::Exception: Cannot drop projection d_order because it's affected by mutation with ID '0000000001' which is not finished yet. Wait this mutation, or KILL it with command "KILL MUTATION WHERE mutation_id = '0000000001'". (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50302) (comment: 02597_projection_materialize_and_replication.sql) (in query: ALTER TABLE test DROP PROJECTION d_order SETTINGS mutations_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String const&, String const&) @ 0x000000001cc761c4 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7885: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const::$_0::operator()(String const&, String const&, String const&) const @ 0x000000001cc36861 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7907: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const @ 0x000000001cbeb995 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3201: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f1e 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:07.703686 [ 730 ] {d2e32272-2b93-4c4f-8b75-db76cccf44ea} TCPHandler: Code: 36. DB::Exception: Cannot drop projection d_order because it's affected by mutation with ID '0000000001' which is not finished yet. Wait this mutation, or KILL it with command "KILL MUTATION WHERE mutation_id = '0000000001'". (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String const&, String const&) @ 0x000000001cc761c4 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7885: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const::$_0::operator()(String const&, String const&, String const&) const @ 0x000000001cc36861 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7907: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const @ 0x000000001cbeb995 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3201: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f1e 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:07.703716 [ 1582 ] {0c70c1da-d0f6-4e63-b289-0499e34632bf} executeQuery: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(-100, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x000000001479690c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:155: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f793e 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.704795 [ 1582 ] {0c70c1da-d0f6-4e63-b289-0499e34632bf} TCPHandler: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x000000001479690c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:155: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f793e 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f722a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false, true>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6fe9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6ccf 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::allocator, DB::NameQuantileGK, false, void, false, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146f6b3f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false, true>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000146e368e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2582 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:07.721549 [ 1582 ] {dbb24b68-9f42-41db-91c3-faeed7ab50d7} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:07.722346 [ 1582 ] {dbb24b68-9f42-41db-91c3-faeed7ab50d7} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x00000000190c356d 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:583: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001a6c889d 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:270: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001a6c6710 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:199: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001a6c5c39 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001b462533 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001b46ac20 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:696: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b447aa8 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:25:07.873403 [ 1582 ] {3a4aa781-70ff-42f3-a394-8ce25a2bf59a} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764b3f 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:25:07.874419 [ 1582 ] {3a4aa781-70ff-42f3-a394-8ce25a2bf59a} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764b3f 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:25:07.898015 [ 1582 ] {50ba9c5b-000e-46bc-a229-7588bcdd5619} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(100)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764b3f 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:25:07.899449 [ 1582 ] {50ba9c5b-000e-46bc-a229-7588bcdd5619} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764b3f 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:25:08.130569 [ 1582 ] {0f9595ed-30b4-4efd-b07d-11bc39773629} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK('abc', 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764e56 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:08.131659 [ 1582 ] {0f9595ed-30b4-4efd-b07d-11bc39773629} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764e56 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:08.150691 [ 1582 ] {31d0c278-cf10-4425-958c-f640f9bff73e} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(1.23, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764e56 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:08.151623 [ 1582 ] {31d0c278-cf10-4425-958c-f640f9bff73e} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:146: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764e56 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:08.311680 [ 1582 ] {0a1478e3-0836-41f6-b2b9-cb701e5f22f7} executeQuery: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:50278) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(-100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x000000001479690c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:155: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014765013 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:08.312630 [ 1582 ] {0a1478e3-0836-41f6-b2b9-cb701e5f22f7} TCPHandler: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x000000001479690c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:155: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014765013 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014764a0a 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147647c9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000147644af 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::allocator, DB::NameQuantilesGK, false, void, true, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001476431f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014759e4e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:516: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e2d82 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:25:10.278542 [ 5772 ] {dfab63dc-f457-4a67-8002-ef4dc23fe4df} executeQuery: Code: 36. DB::Exception: Cannot drop column x because it's affected by mutation with ID '0000000001' which is not finished yet. Wait this mutation, or KILL it with command "KILL MUTATION WHERE mutation_id = '0000000001'". (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:48728) (comment: 02597_column_delete_and_replication.sql) (in query: ALTER TABLE test DROP COLUMN x SETTINGS mutations_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String const&, String const&) @ 0x000000001cc761c4 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7885: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const::$_0::operator()(String const&, String const&, String const&) const @ 0x000000001cc36861 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7920: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const @ 0x000000001cbebb9a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3201: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f1e 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:10.279321 [ 5772 ] {dfab63dc-f457-4a67-8002-ef4dc23fe4df} TCPHandler: Code: 36. DB::Exception: Cannot drop column x because it's affected by mutation with ID '0000000001' which is not finished yet. Wait this mutation, or KILL it with command "KILL MUTATION WHERE mutation_id = '0000000001'". (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String const&, String const&) @ 0x000000001cc761c4 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7885: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const::$_0::operator()(String const&, String const&, String const&) const @ 0x000000001cc36861 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7920: DB::MergeTreeData::checkDropCommandDoesntAffectInProgressMutations(DB::AlterCommand const&, std::map, std::allocator>> const&, std::shared_ptr) const @ 0x000000001cbebb9a 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3201: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f1e 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:12.438287 [ 7099 ] {a0124783-a2ee-4949-9d0a-2234bca44180} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001d62a633 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d6271a6 7. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 8. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 9. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 10. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 11. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:12.441014 [ 1584 ] {a0124783-a2ee-4949-9d0a-2234bca44180} executeQuery: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:48764) (comment: 02590_bson_duplicate_column.sql) (in query: select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001d62a633 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d6271a6 7. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 8. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 9. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 10. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 11. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:25:12.442042 [ 1584 ] {a0124783-a2ee-4949-9d0a-2234bca44180} TCPHandler: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001d62a633 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d6271a6 7. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 8. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 9. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 10. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 11. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:25:15.353646 [ 7086 ] {63d29485-387f-41e0-b255-cc390822e212} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 117. DB::Exception: Size of BSON document is invalid. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628c00 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:15.356679 [ 730 ] {63d29485-387f-41e0-b255-cc390822e212} executeQuery: Code: 117. DB::Exception: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:48790) (comment: 02589_bson_invalid_document_size.sql) (in query: select * from format(BSONEachRow, 'x UInt32', x'00000000');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628c00 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:15.358056 [ 730 ] {63d29485-387f-41e0-b255-cc390822e212} TCPHandler: Code: 117. DB::Exception: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001d628c00 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d62cbbb 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d62cb55 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d62caf5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d62ca7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d7c5dbc 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d7c0f95 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:44: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001d7bf55d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001d7c66ea 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x000000001d7c663e 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x000000001d7c64dd 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001d7c63b7 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c6315 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c62f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c62d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c62a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:26.072926 [ 1549 ] {1fb72fb6-772f-446c-bd72-3390cef00b99} executeQuery: Code: 80. DB::Exception: Failed to rewrite ' test_2wj1a47v.t1 AS __table1, test_2wj1a47v.t2 AS __table2, (SELECT __table4.a AS x FROM test_2wj1a47v.t3 AS __table4 WHERE (__table4.a + 1) = __table4.b) AS __table3' to INNER JOIN: no equi-join conditions found in WHERE clause. You may set setting `cross_to_inner_join_rewrite` to `1` to allow slow CROSS JOIN for this case. (INCORRECT_QUERY) (version 24.3.12.76.altinitystable) (from [::1]:58482) (comment: 02564_analyzer_cross_to_inner.sql) (in query: -- { echoOff } SELECT * FROM t1, t2, (SELECT a as x from t3 where a + 1 = b ) as t3 WHERE t1.a = if(t2.b > 0, t2.a, 0) SETTINGS cross_to_inner_join_rewrite = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:185: DB::(anonymous namespace)::CrossToInnerJoinVisitor::enterImpl(std::shared_ptr&) @ 0x000000001b40d0c2 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:154: DB::InDepthQueryTreeVisitorWithContext::visit(std::shared_ptr&) @ 0x000000001b40ccfe 8. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:231: DB::CrossToInnerJoinPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b40ca6c 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:26.186882 [ 5772 ] {5be90c6c-1acd-4eba-8f15-198266bc895f} executeQuery: Code: 60. DB::Exception: Table test_lylggwt2.`02681_undrop_uuid` (9df4b696-d667-4505-8501-04c0872bf0a3) is being dropped, has been dropped, or the database engine does not support UNDROP. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:58496) (comment: 02681_undrop_query_uuid.sh) (in query: undrop table 02681_undrop_uuid UUID '9df4b696-d667-4505-8501-04c0872bf0a3';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:1170: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x000000001a6787b6 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:67: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x000000001bc0fe1f 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:40: DB::InterpreterUndropQuery::execute() @ 0x000000001bc0f73c 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:26.186958 [ 1582 ] {4ffde2b5-cd4d-4796-857c-959398dbf43a} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:42116) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:25:26.187277 [ 1549 ] {1fb72fb6-772f-446c-bd72-3390cef00b99} TCPHandler: Code: 80. DB::Exception: Failed to rewrite ' test_2wj1a47v.t1 AS __table1, test_2wj1a47v.t2 AS __table2, (SELECT __table4.a AS x FROM test_2wj1a47v.t3 AS __table4 WHERE (__table4.a + 1) = __table4.b) AS __table3' to INNER JOIN: no equi-join conditions found in WHERE clause. You may set setting `cross_to_inner_join_rewrite` to `1` to allow slow CROSS JOIN for this case. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:185: DB::(anonymous namespace)::CrossToInnerJoinVisitor::enterImpl(std::shared_ptr&) @ 0x000000001b40d0c2 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:154: DB::InDepthQueryTreeVisitorWithContext::visit(std::shared_ptr&) @ 0x000000001b40ccfe 8. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:231: DB::CrossToInnerJoinPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b40ca6c 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:26.189225 [ 5772 ] {5be90c6c-1acd-4eba-8f15-198266bc895f} TCPHandler: Code: 60. DB::Exception: Table test_lylggwt2.`02681_undrop_uuid` (9df4b696-d667-4505-8501-04c0872bf0a3) is being dropped, has been dropped, or the database engine does not support UNDROP. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:1170: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x000000001a6787b6 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:67: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x000000001bc0fe1f 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:40: DB::InterpreterUndropQuery::execute() @ 0x000000001bc0f73c 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:25:26.191144 [ 1582 ] {4ffde2b5-cd4d-4796-857c-959398dbf43a} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing JSONRowOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/IOutputFormat.cpp:86: DB::IOutputFormat::work() @ 0x000000001d5464f2 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:27.342545 [ 1582 ] {0173fbb5-9142-41fd-853b-c1686e6461d3} executeQuery: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:42118) (comment: 02841_valid_json_and_xml_on_http_exception.sh) (in query: select * from test_02841 format JSON settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:25:27.351179 [ 1582 ] {0173fbb5-9142-41fd-853b-c1686e6461d3} DynamicQueryHandler: Code: 36. DB::Exception: Unexpected value 99 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/EnumValues.h:40: DB::EnumValues<_BitInt(8)>::findByValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af62b54 7. /build/src/DataTypes/EnumValues.h:53: DB::EnumValues<_BitInt(8)>::getNameForValue(DB::EnumValues<_BitInt(8)> const&) const @ 0x000000000af6281d 8. /build/src/DataTypes/Serializations/SerializationEnum.cpp:127: DB::SerializationEnum<_BitInt(8)>::serializeTextJSON(DB::IColumn const&, unsigned long, DB::WriteBuffer&, DB::FormatSettings const&) const @ 0x0000000019ff7c94 9. /build/src/Formats/JSONUtils.cpp:0: DB::JSONUtils::writeFieldFromColumn(DB::IColumn const&, DB::ISerialization const&, unsigned long, bool, DB::FormatSettings const&, DB::WriteBuffer&, std::optional const&, unsigned long, char const*, bool) @ 0x000000001d71dea9 10. /build/src/Processors/Formats/Impl/JSONRowOutputFormat.cpp:34: DB::JSONRowOutputFormat::writeField(DB::IColumn const&, DB::ISerialization const&, unsigned long) @ 0x000000001d74ad90 11. /build/src/Processors/Formats/IRowOutputFormat.cpp:73: DB::IRowOutputFormat::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d5472d2 12. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:58: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::write(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) @ 0x000000001d736665 13. /build/src/Processors/Formats/RowOutputFormatWithExceptionHandlerAdaptor.h:45: DB::RowOutputFormatWithExceptionHandlerAdaptor, bool>::consume(DB::Chunk) @ 0x000000001d7364ce 14. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp:235: DB::ParallelFormattingOutputFormat::formatterThreadFunction(unsigned long, unsigned long, std::shared_ptr const&) @ 0x000000001d7bd774 15. /build/src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h:301: DB::ParallelFormattingOutputFormat::scheduleFormatterThreadForUnitWithNumber(unsigned long, unsigned long)::'lambda'()::operator()() const @ 0x000000001d7bee84 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7bee55 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7bee35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7bee15 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7bede0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:35.088546 [ 1695 ] {a8fb329a-212f-44fe-8475-f1331b255e9c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_jyywblmv.t_async_insert_bad_data FORMAT Values' with query id b5c7081d-de87-44a1-b983-1f9957eecf71. DB::Exception: Cannot parse expression of type String here: 'bad'string') 2025.03.05 21:25:35.246021 [ 730 ] {b5c7081d-de87-44a1-b983-1f9957eecf71} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type String here: 'bad'string'): While executing WaitForAsyncInsert. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:56684) (comment: 02563_async_insert_bad_data.sh) (in query: INSERT INTO t_async_insert_bad_data VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x0000000011ead78c 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:433: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001d9e7241 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001d9e5359 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::read() @ 0x000000001d9e45fe 9. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 10. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 11. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 12. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:59: DB::StreamingFormatExecutor::execute() @ 0x000000001d542241 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001d541d92 14. /build/src/Interpreters/AsynchronousInsertQueue.cpp:986: DB::Chunk DB::AsynchronousInsertQueue::processEntriesWithParsing>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&)::$_1&>(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr> const&, DB::Block const&, std::shared_ptr const&, std::shared_ptr, DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&)::$_1&) @ 0x000000001a4eabb1 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:868: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&) @ 0x000000001a4e902f 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:289: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr, unsigned long)::$_0::operator()() @ 0x000000001a4ec939 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a4ec875 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a4ec855 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a4ec835 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a4ec800 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 2025.03.05 21:25:35.248115 [ 730 ] {b5c7081d-de87-44a1-b983-1f9957eecf71} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type String here: 'bad'string'): While executing WaitForAsyncInsert. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x0000000011ead78c 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:433: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001d9e7241 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001d9e5359 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::read() @ 0x000000001d9e45fe 9. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 10. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 11. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 12. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:59: DB::StreamingFormatExecutor::execute() @ 0x000000001d542241 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:43: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001d541d92 14. /build/src/Interpreters/AsynchronousInsertQueue.cpp:986: DB::Chunk DB::AsynchronousInsertQueue::processEntriesWithParsing>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&)::$_1&>(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr> const&, DB::Block const&, std::shared_ptr const&, std::shared_ptr, DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&)::$_1&) @ 0x000000001a4eabb1 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:868: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr, DB::AsynchronousInsertQueue::QueueShardFlushTimeHistory&) @ 0x000000001a4e902f 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:289: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr, unsigned long)::$_0::operator()() @ 0x000000001a4ec939 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a4ec875 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a4ec855 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a4ec835 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a4ec800 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 (version 24.3.12.76.altinitystable) 2025.03.05 21:25:36.500544 [ 5772 ] {46e6a403-5f8f-4e45-b17a-9e360d6153f7} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 24.3.12.76.altinitystable) (from [::1]:44540) (comment: 02559_multiple_read_steps_in_prewhere.sql) (in query: SELECT cast(id1 as UInt16) AS cond1 FROM test_02559 PREWHERE cond1 LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001c1f36e6 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001ce93aa5 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1497: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9082f 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 10. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 11. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 12. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 13. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 14. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 20. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 21. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 26. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:25:36.502236 [ 5772 ] {46e6a403-5f8f-4e45-b17a-9e360d6153f7} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001c1f36e6 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001ce93aa5 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1497: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9082f 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 10. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 11. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 12. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 13. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 14. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 20. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 21. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 26. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:25:46.135199 [ 1582 ] {5ac6a610-2f54-4c74-bf50-df0a5f18aae7} executeQuery: Code: 36. DB::Exception: Unexpected type Decimal(38, 3) in function 'transform': In scope SELECT transform(-9223372036854775807, [-1], [toDecimal32(1024, 3)]) FROM system.numbers LIMIT 7. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:33654) (comment: 02542_transform_new.sql) (in query: SELECT transform(-9223372036854775807, [-1], [toDecimal32(1024, 3)]) FROM system.numbers LIMIT 7;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:46.136512 [ 1582 ] {5ac6a610-2f54-4c74-bf50-df0a5f18aae7} TCPHandler: Code: 36. DB::Exception: Unexpected type Decimal(38, 3) in function 'transform': In scope SELECT transform(-9223372036854775807, [-1], [toDecimal32(1024, 3)]) FROM system.numbers LIMIT 7. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:46.185576 [ 1582 ] {8f56a8f1-4092-4756-a710-4af66f269ed4} executeQuery: Code: 36. DB::Exception: Unexpected type Decimal(38, 2) in function 'transform': In scope SELECT [NULL, NULL, NULL, NULL], transform(number, [2147483648], [toDecimal32(1, 2)]) AS x FROM numbers(257) WHERE materialize(10). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:33654) (comment: 02542_transform_new.sql) (in query: SELECT [NULL, NULL, NULL, NULL], transform(number, [2147483648], [toDecimal32(1, 2)]) AS x FROM numbers(257) WHERE materialize(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:46.187068 [ 1582 ] {8f56a8f1-4092-4756-a710-4af66f269ed4} TCPHandler: Code: 36. DB::Exception: Unexpected type Decimal(38, 2) in function 'transform': In scope SELECT [NULL, NULL, NULL, NULL], transform(number, [2147483648], [toDecimal32(1, 2)]) AS x FROM numbers(257) WHERE materialize(10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:46.240563 [ 1582 ] {34cb4254-ce6f-4b9d-ae3d-9b1a1c81239a} executeQuery: Code: 36. DB::Exception: Unexpected type Decimal(38, 2) in function 'transform': In scope SELECT transform(-2147483649, [1], [toDecimal32(1, 2)]) GROUP BY [1] WITH TOTALS. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:33654) (comment: 02542_transform_new.sql) (in query: SELECT transform(-2147483649, [1], [toDecimal32(1, 2)]) GROUP BY [1] WITH TOTALS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:46.241677 [ 1582 ] {34cb4254-ce6f-4b9d-ae3d-9b1a1c81239a} TCPHandler: Code: 36. DB::Exception: Unexpected type Decimal(38, 2) in function 'transform': In scope SELECT transform(-2147483649, [1], [toDecimal32(1, 2)]) GROUP BY [1] WITH TOTALS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/transform.cpp:688: DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x0000000011f7cf5e 7. /build/src/Functions/transform.cpp:674: DB::(anonymous namespace)::FunctionTransform::checkAllowedType(std::shared_ptr const&) @ 0x0000000011f7ce55 8. /build/src/Functions/transform.cpp:123: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011ef0a8e 9. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:25:49.324737 [ 5772 ] {407e2a06-a7e1-4a9b-8725-0e36411bad92} executeQuery: Code: 48. DB::Exception: first element of the key tuple is not UInt64: In scope SELECT sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:33618) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed((0, 0), '1');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:115: DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b06ce15 7. /build/src/Functions/FunctionsHashing.h:305: DB::SipHash128ReferenceKeyedImpl::parseKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b15bf20 8. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15bc96 9. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 10. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15b9bc 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:25:49.325570 [ 5772 ] {407e2a06-a7e1-4a9b-8725-0e36411bad92} TCPHandler: Code: 48. DB::Exception: first element of the key tuple is not UInt64: In scope SELECT sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:115: DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b06ce15 7. /build/src/Functions/FunctionsHashing.h:305: DB::SipHash128ReferenceKeyedImpl::parseKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b15bf20 8. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15bc96 9. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 10. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15b9bc 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:25:49.478144 [ 5772 ] {ffde3f87-b978-4f00-959d-b5cbae04b59a} executeQuery: Code: 48. DB::Exception: key must be a tuple: In scope SELECT sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:33618) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed(toUInt64(0), '1');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:108: DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b06cbbc 7. /build/src/Functions/FunctionsHashing.h:305: DB::SipHash128ReferenceKeyedImpl::parseKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b15bf20 8. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15bc96 9. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 10. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15b9bc 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:25:49.479216 [ 5772 ] {ffde3f87-b978-4f00-959d-b5cbae04b59a} TCPHandler: Code: 48. DB::Exception: key must be a tuple: In scope SELECT sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:108: DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b06cbbc 7. /build/src/Functions/FunctionsHashing.h:305: DB::SipHash128ReferenceKeyedImpl::parseKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x000000000b15bf20 8. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15bc96 9. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 10. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b15b9bc 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:25:59.848697 [ 1584 ] {00f730fa-efb3-49e0-af05-66832131ddb9} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of 2nd (optional) argument of function toDayOfWeek. Must be constant UInt8 (week mode).: In scope SELECT toDayOfWeek(today(), -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:53766) (comment: 02521_to_custom_day_of_week.sql) (in query: select toDayOfWeek(today(), -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionCustomWeek.h:87: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool, bool) const @ 0x0000000011e34bbd 7. /build/src/Functions/FunctionCustomWeekToSomething.h:23: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e32ae4 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:25:59.849754 [ 1584 ] {00f730fa-efb3-49e0-af05-66832131ddb9} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of 2nd (optional) argument of function toDayOfWeek. Must be constant UInt8 (week mode).: In scope SELECT toDayOfWeek(today(), -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionCustomWeek.h:87: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool, bool) const @ 0x0000000011e34bbd 7. /build/src/Functions/FunctionCustomWeekToSomething.h:23: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e32ae4 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:00.753429 [ 5772 ] {747f1c65-f0d8-4cfd-92f1-fc1bbc2c2f04} executeQuery: Code: 53. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: While executing Remote. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:53812) (comment: 02517_wrong_total_structure_crash.sql) (in query: SELECT field1 FROM alias10__fuzz_13 WHERE arrayEnumerateDense(NULL, tuple('0.2147483646'), NULL) GROUP BY field1, arrayEnumerateDense(('0.02', '0.1', '0'), NULL) WITH TOTALS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:3507: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000aa6f2b4 7. /build/src/Functions/FunctionsConversion.cpp:4771: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e57d 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437a0 12. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 13. /build/src/Interpreters/castColumn.cpp:46: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb582b2 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:327: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000019e9b2f6 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:613: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000019e98f2f 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:502: DB::RemoteQueryExecutor::readAsync() @ 0x0000000019e9a3b0 17. /build/src/Processors/Sources/RemoteSource.cpp:136: DB::RemoteSource::tryGenerate() @ 0x000000001dba6e55 18. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 19. /build/src/Processors/Sources/RemoteSource.cpp:102: DB::RemoteSource::work() @ 0x000000001dba6c57 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 2025.03.05 21:26:00.754940 [ 5772 ] {747f1c65-f0d8-4cfd-92f1-fc1bbc2c2f04} TCPHandler: Code: 53. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: While executing Remote. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:3507: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000aa6f2b4 7. /build/src/Functions/FunctionsConversion.cpp:4771: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e57d 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437a0 12. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 13. /build/src/Interpreters/castColumn.cpp:46: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb582b2 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:327: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000019e9b2f6 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:613: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000019e98f2f 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:502: DB::RemoteQueryExecutor::readAsync() @ 0x0000000019e9a3b0 17. /build/src/Processors/Sources/RemoteSource.cpp:136: DB::RemoteSource::tryGenerate() @ 0x000000001dba6e55 18. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 19. /build/src/Processors/Sources/RemoteSource.cpp:102: DB::RemoteSource::work() @ 0x000000001dba6c57 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 2025.03.05 21:26:00.892970 [ 4742 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:51356). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:00.902890 [ 5772 ] {c2ceb1dc-02e0-4ba0-89db-6d42b819ff58} executeQuery: Code: 53. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: While executing Remote. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:53812) (comment: 02517_wrong_total_structure_crash.sql) (in query: SELECT x FROM distributed GROUP BY x WITH TOTALS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:3507: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000aa6f2b4 7. /build/src/Functions/FunctionsConversion.cpp:4771: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e57d 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437a0 12. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 13. /build/src/Interpreters/castColumn.cpp:46: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb582b2 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:327: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000019e9b2f6 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:613: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000019e98f2f 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:502: DB::RemoteQueryExecutor::readAsync() @ 0x0000000019e9a3b0 17. /build/src/Processors/Sources/RemoteSource.cpp:136: DB::RemoteSource::tryGenerate() @ 0x000000001dba6e55 18. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 19. /build/src/Processors/Sources/RemoteSource.cpp:102: DB::RemoteSource::work() @ 0x000000001dba6c57 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 2025.03.05 21:26:00.904384 [ 5772 ] {c2ceb1dc-02e0-4ba0-89db-6d42b819ff58} TCPHandler: Code: 53. DB::Exception: CAST AS Array can only be performed between same-dimensional Array, Map or String types: While executing Remote. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:3507: DB::(anonymous namespace)::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const @ 0x000000000aa6f2b4 7. /build/src/Functions/FunctionsConversion.cpp:4771: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e57d 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437a0 12. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 13. /build/src/Interpreters/castColumn.cpp:46: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb582b2 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:327: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x0000000019e9b2f6 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:613: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x0000000019e98f2f 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:502: DB::RemoteQueryExecutor::readAsync() @ 0x0000000019e9a3b0 17. /build/src/Processors/Sources/RemoteSource.cpp:136: DB::RemoteSource::tryGenerate() @ 0x000000001dba6e55 18. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 19. /build/src/Processors/Sources/RemoteSource.cpp:102: DB::RemoteSource::work() @ 0x000000001dba6c57 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 2025.03.05 21:26:00.904759 [ 1549 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:53822). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:04.389160 [ 5772 ] {7b155dfe-b5a2-4851-98a0-9a8ae178cd2b} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'Object('json')' because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it: In scope SELECT CAST('{"x" : 1}', 'JSON'). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: select CAST('{"x" : 1}', 'JSON');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:45: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ccad 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:04.390145 [ 5772 ] {7b155dfe-b5a2-4851-98a0-9a8ae178cd2b} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'Object('json')' because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it: In scope SELECT CAST('{"x" : 1}', 'JSON'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:45: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ccad 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:04.596158 [ 5772 ] {effdde0a-08fb-4121-ba32-0d9987844c50} executeQuery: Code: 44. DB::Exception: Cannot infer the data structure in JSONAsObject format because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: desc file(nonexist.json, JSONAsObject);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:190: DB::JSONAsObjectExternalSchemaReader::JSONAsObjectExternalSchemaReader(DB::FormatSettings const&) @ 0x000000001d716b79 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::JSONAsObjectExternalSchemaReader* std::construct_at[abi:v15000](DB::JSONAsObjectExternalSchemaReader*, DB::FormatSettings const&) @ 0x000000001d71ba66 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::JSONAsObjectExternalSchemaReader*, DB::FormatSettings const&) @ 0x000000001d71b821 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::FormatSettings const&) @ 0x000000001d71b547 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::FormatSettings const&, void>(std::allocator const&, DB::FormatSettings const&) @ 0x000000001d71b3d7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::FormatSettings const&) @ 0x000000001d71b386 12. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:252: DB::registerJSONAsObjectSchemaReader(DB::FormatFactory&)::$_0::operator()(DB::FormatSettings const&) const @ 0x000000001d717dd9 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d717d9d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d717d3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d717cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d717cc5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d4be61e 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d4abfdd 19. /build/src/Formats/FormatFactory.cpp:590: DB::FormatFactory::getExternalSchemaReader(String const&, std::shared_ptr const&, std::optional const&) const @ 0x000000001d4a1eb1 20. /build/src/Formats/ReadSchemaUtils.cpp:114: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cda07 21. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 22. /build/src/Storages/StorageFile.cpp:943: DB::StorageFile::getTableStructureAndFormatFromFileImpl(std::optional, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c3712be 23. /build/src/Storages/StorageFile.cpp:956: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c37173c 24. /build/src/TableFunctions/TableFunctionFile.cpp:109: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49f2b 25. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 26. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:26:04.597148 [ 5772 ] {effdde0a-08fb-4121-ba32-0d9987844c50} TCPHandler: Code: 44. DB::Exception: Cannot infer the data structure in JSONAsObject format because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:190: DB::JSONAsObjectExternalSchemaReader::JSONAsObjectExternalSchemaReader(DB::FormatSettings const&) @ 0x000000001d716b79 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::JSONAsObjectExternalSchemaReader* std::construct_at[abi:v15000](DB::JSONAsObjectExternalSchemaReader*, DB::FormatSettings const&) @ 0x000000001d71ba66 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::JSONAsObjectExternalSchemaReader*, DB::FormatSettings const&) @ 0x000000001d71b821 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::FormatSettings const&) @ 0x000000001d71b547 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::FormatSettings const&, void>(std::allocator const&, DB::FormatSettings const&) @ 0x000000001d71b3d7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::FormatSettings const&) @ 0x000000001d71b386 12. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:252: DB::registerJSONAsObjectSchemaReader(DB::FormatFactory&)::$_0::operator()(DB::FormatSettings const&) const @ 0x000000001d717dd9 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d717d9d 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d717d3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d717cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d717cc5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d4be61e 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d4abfdd 19. /build/src/Formats/FormatFactory.cpp:590: DB::FormatFactory::getExternalSchemaReader(String const&, std::shared_ptr const&, std::optional const&) const @ 0x000000001d4a1eb1 20. /build/src/Formats/ReadSchemaUtils.cpp:114: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cda07 21. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 22. /build/src/Storages/StorageFile.cpp:943: DB::StorageFile::getTableStructureAndFormatFromFileImpl(std::optional, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c3712be 23. /build/src/Storages/StorageFile.cpp:956: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c37173c 24. /build/src/TableFunctions/TableFunctionFile.cpp:109: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49f2b 25. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 26. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:26:04.731879 [ 5772 ] {ba0f1fed-ef34-4360-9a8b-6d1197b35542} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'Object('json')' because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: desc file(nonexist.json, JSONEachRow, 'x JSON');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:45: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ccad 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:04.732766 [ 5772 ] {ba0f1fed-ef34-4360-9a8b-6d1197b35542} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'Object('json')' because experimental Object type is not allowed. Set setting allow_experimental_object_type = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:45: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ccad 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:04.909837 [ 5772 ] {0f845019-2c5e-42e3-a7d7-022a9fc79d19} executeQuery: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt64) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting.: In scope SELECT CAST(1000000, 'LowCardinality(UInt64)'). (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: select CAST(1000000, 'LowCardinality(UInt64)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:04.910634 [ 5772 ] {0f845019-2c5e-42e3-a7d7-022a9fc79d19} TCPHandler: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt64) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting.: In scope SELECT CAST(1000000, 'LowCardinality(UInt64)'). (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:05.043664 [ 5772 ] {ff9739ca-ec39-46c3-9cb8-3ce054841d96} executeQuery: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt64) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: desc file(nonexist.json, JSONEachRow, 'lc LowCardinality(UInt64)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:05.044557 [ 5772 ] {ff9739ca-ec39-46c3-9cb8-3ce054841d96} TCPHandler: Code: 455. DB::Exception: Creating columns of type LowCardinality(UInt64) is prohibited by default due to expected negative impact on performance. It can be enabled with the "allow_suspicious_low_cardinality_types" setting. (SUSPICIOUS_TYPE_FOR_LOW_CARDINALITY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:33: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0cb4d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:05.225421 [ 5772 ] {25e174e5-0512-495e-b145-33e24c994d3b} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'FixedString(1000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it: In scope SELECT CAST('', 'FixedString(1000)'). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: select CAST('', 'FixedString(1000)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:05.226386 [ 5772 ] {25e174e5-0512-495e-b145-33e24c994d3b} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'FixedString(1000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it: In scope SELECT CAST('', 'FixedString(1000)'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Functions/CastOverloadResolver.cpp:100: DB::CastOverloadResolverImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000190b64e4 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:05.368911 [ 5772 ] {ea268837-a60e-4020-9aa0-897ed6db938d} executeQuery: Code: 44. DB::Exception: Cannot create column with type 'FixedString(1000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53854) (comment: 02513_validate_data_types.sql) (in query: desc file(nonexist.json, JSONEachRow, 'fs FixedString(1000)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:05.369701 [ 5772 ] {ea268837-a60e-4020-9aa0-897ed6db938d} TCPHandler: Code: 44. DB::Exception: Cannot create column with type 'FixedString(1000)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int&&) @ 0x000000001bc0e62c 6. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:58: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&)::$_0::operator()(DB::IDataType const&) const @ 0x000000001bc0ce1d 7. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:109: DB::validateDataType(std::shared_ptr const&, DB::DataTypeValidationSettings const&) @ 0x000000001bc0c98d 8. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:127: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d9fe 9. /build/src/TableFunctions/TableFunctionFile.cpp:112: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d49fc0 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:08.978931 [ 1582 ] {b9bb849f-83c8-41af-8aa4-4227b95c8595} executeQuery: Code: 36. DB::Exception: Only `Float64` data type is allowed for the value column of GraphiteMergeTree. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53230) (comment: 02508_bad_graphite.sql) (in query: INSERT INTO test_graphite (key) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Merges/Algorithms/GraphiteRollupSortedAlgorithm.cpp:36: DB::defineColumns(DB::Block const&, DB::Graphite::Params const&) @ 0x000000001dbe3e10 7. /build/src/Processors/Merges/Algorithms/GraphiteRollupSortedAlgorithm.cpp:67: DB::GraphiteRollupSortedAlgorithm::GraphiteRollupSortedAlgorithm(DB::Block const&, unsigned long, DB::SortDescription, unsigned long, unsigned long, DB::Graphite::Params, long) @ 0x000000001dbe3b1a 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::GraphiteRollupSortedAlgorithm* std::construct_at[abi:v15000](DB::GraphiteRollupSortedAlgorithm*, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf92271 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::GraphiteRollupSortedAlgorithm*, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91f9a 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91c65 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block&, int, DB::SortDescription&, unsigned long, int, DB::Graphite::Params const&, long, void>(std::allocator const&, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91a94 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf8e500 13. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:360: DB::MergeTreeDataWriter::mergeBlock(DB::Block&&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&)::$_0::operator()() const @ 0x000000001cf82353 14. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:367: DB::MergeTreeDataWriter::mergeBlock(DB::Block&&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001cf8183d 15. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:505: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001cf833c4 16. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:404: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001cf8245d 17. /build/src/Storages/MergeTree/MergeTreeSink.cpp:86: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001d13ab8f 18. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 2025.03.05 21:26:09.204030 [ 1584 ] {56df8ab9-d1d9-40b7-9631-0e214293fbff} executeQuery: Code: 36. DB::Exception: Cannot load time zone /abc: In scope SELECT toDateTime(0, '/abc'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53240) (comment: 02505_forbid_paths_in_datetime_timezone.sql) (in query: select toDateTime(0, '/abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.204049 [ 1582 ] {b9bb849f-83c8-41af-8aa4-4227b95c8595} TCPHandler: Code: 36. DB::Exception: Only `Float64` data type is allowed for the value column of GraphiteMergeTree. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/Merges/Algorithms/GraphiteRollupSortedAlgorithm.cpp:36: DB::defineColumns(DB::Block const&, DB::Graphite::Params const&) @ 0x000000001dbe3e10 7. /build/src/Processors/Merges/Algorithms/GraphiteRollupSortedAlgorithm.cpp:67: DB::GraphiteRollupSortedAlgorithm::GraphiteRollupSortedAlgorithm(DB::Block const&, unsigned long, DB::SortDescription, unsigned long, unsigned long, DB::Graphite::Params, long) @ 0x000000001dbe3b1a 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::GraphiteRollupSortedAlgorithm* std::construct_at[abi:v15000](DB::GraphiteRollupSortedAlgorithm*, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf92271 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::GraphiteRollupSortedAlgorithm*, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91f9a 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91c65 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block&, int, DB::SortDescription&, unsigned long, int, DB::Graphite::Params const&, long, void>(std::allocator const&, DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf91a94 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::Block&, int&&, DB::SortDescription&, unsigned long&&, int&&, DB::Graphite::Params const&, long&&) @ 0x000000001cf8e500 13. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:360: DB::MergeTreeDataWriter::mergeBlock(DB::Block&&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&)::$_0::operator()() const @ 0x000000001cf82353 14. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:367: DB::MergeTreeDataWriter::mergeBlock(DB::Block&&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001cf8183d 15. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:505: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001cf833c4 16. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:404: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001cf8245d 17. /build/src/Storages/MergeTree/MergeTreeSink.cpp:86: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001d13ab8f 18. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 2025.03.05 21:26:09.205159 [ 1584 ] {56df8ab9-d1d9-40b7-9631-0e214293fbff} TCPHandler: Code: 36. DB::Exception: Cannot load time zone /abc: In scope SELECT toDateTime(0, '/abc'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.225399 [ 1584 ] {fba02f1f-c047-4314-8d35-a56c3ba74eec} executeQuery: Code: 36. DB::Exception: Cannot load time zone ./abc: In scope SELECT toDateTime(0, './abc'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53240) (comment: 02505_forbid_paths_in_datetime_timezone.sql) (in query: select toDateTime(0, './abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.226364 [ 1584 ] {fba02f1f-c047-4314-8d35-a56c3ba74eec} TCPHandler: Code: 36. DB::Exception: Cannot load time zone ./abc: In scope SELECT toDateTime(0, './abc'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.244064 [ 1584 ] {fe22091e-0687-4fca-b056-0d105b275309} executeQuery: Code: 36. DB::Exception: Cannot load time zone ../abc: In scope SELECT toDateTime(0, '../abc'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53240) (comment: 02505_forbid_paths_in_datetime_timezone.sql) (in query: select toDateTime(0, '../abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.244959 [ 1584 ] {fe22091e-0687-4fca-b056-0d105b275309} TCPHandler: Code: 36. DB::Exception: Cannot load time zone ../abc: In scope SELECT toDateTime(0, '../abc'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.261728 [ 1584 ] {47ee959a-0f74-40b7-a0f0-1390990309f4} executeQuery: Code: 36. DB::Exception: Cannot load time zone ~/abc: In scope SELECT toDateTime(0, '~/abc'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53240) (comment: 02505_forbid_paths_in_datetime_timezone.sql) (in query: select toDateTime(0, '~/abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.262598 [ 1584 ] {47ee959a-0f74-40b7-a0f0-1390990309f4} TCPHandler: Code: 36. DB::Exception: Cannot load time zone ~/abc: In scope SELECT toDateTime(0, '~/abc'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.279259 [ 1584 ] {b5ff4d41-1af5-4b17-98c0-6d04325ae18c} executeQuery: Code: 36. DB::Exception: Cannot load time zone abc/../../cba: In scope SELECT toDateTime(0, 'abc/../../cba'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53240) (comment: 02505_forbid_paths_in_datetime_timezone.sql) (in query: select toDateTime(0, 'abc/../../cba');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:09.280057 [ 1584 ] {b5ff4d41-1af5-4b17-98c0-6d04325ae18c} TCPHandler: Code: 36. DB::Exception: Cannot load time zone abc/../../cba: In scope SELECT toDateTime(0, 'abc/../../cba'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000001329ff94 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x000000001329a82a 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x0000000019ecda69 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x0000000019ecd34e 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&&) @ 0x000000000af6e966 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&&) @ 0x000000000af6e8e1 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&&) @ 0x000000000af6e867 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String, void>(std::allocator const&, String&&) @ 0x000000000af6e797 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&&) @ 0x000000000af6d6e6 15. /build/src/Functions/FunctionsConversion.cpp:2078: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000acdb315 16. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000acdaf40 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdaefd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdaebd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdae7d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdae45 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 23. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000acdac7b 24. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acaf73a 25. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 26. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 27. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 28. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:26:10.777754 [ 2602 ] {0b4db839-7ad6-429a-a491-679265b421d6} ExternalDictionariesLoader: Could not update external dictionary 'c9adb0bd-c577-4046-90c4-ba50681921e0', leaving the previous version: Code: 489. DB::Exception: There are duplicate id 6. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:203: DB::RegExpTreeDictionary::initRegexNodes(DB::Block&) @ 0x000000001620ca99 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:320: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f822 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:10.779401 [ 4742 ] {0b4db839-7ad6-429a-a491-679265b421d6} executeQuery: Code: 489. DB::Exception: There are duplicate id 6. (INCORRECT_DICTIONARY_DEFINITION) (version 24.3.12.76.altinitystable) (from [::1]:53246) (comment: 02504_regexp_dictionary_table_source.sql) (in query: SYSTEM RELOAD dictionary regexp_dict1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:203: DB::RegExpTreeDictionary::initRegexNodes(DB::Block&) @ 0x000000001620ca99 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:320: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f822 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:10.780595 [ 4742 ] {0b4db839-7ad6-429a-a491-679265b421d6} TCPHandler: Code: 489. DB::Exception: There are duplicate id 6. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:203: DB::RegExpTreeDictionary::initRegexNodes(DB::Block&) @ 0x000000001620ca99 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:320: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f822 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:11.071603 [ 1548 ] {6e2c7fd3-2381-4880-9e7b-64b119c26517} ExternalDictionariesLoader: Could not update external dictionary 'c9adb0bd-c577-4046-90c4-ba50681921e0', leaving the previous version: Code: 489. DB::Exception: Unknown parent id 2 in regexp tree dictionary. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:286: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f2d7 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:11.072705 [ 4742 ] {6e2c7fd3-2381-4880-9e7b-64b119c26517} executeQuery: Code: 489. DB::Exception: Unknown parent id 2 in regexp tree dictionary. (INCORRECT_DICTIONARY_DEFINITION) (version 24.3.12.76.altinitystable) (from [::1]:53246) (comment: 02504_regexp_dictionary_table_source.sql) (in query: SYSTEM RELOAD dictionary regexp_dict1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:286: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f2d7 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:11.073450 [ 4742 ] {6e2c7fd3-2381-4880-9e7b-64b119c26517} TCPHandler: Code: 489. DB::Exception: Unknown parent id 2 in regexp tree dictionary. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:286: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f2d7 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:11.483278 [ 7038 ] {4f5d8b33-622e-41ac-b7d3-e0e69ea3c72c} ExternalDictionariesLoader: Could not update external dictionary 'c9adb0bd-c577-4046-90c4-ba50681921e0', leaving the previous version: Code: 489. DB::Exception: The regexp tree is cyclical. Please check your config. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:295: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f512 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:11.484849 [ 4742 ] {4f5d8b33-622e-41ac-b7d3-e0e69ea3c72c} executeQuery: Code: 489. DB::Exception: The regexp tree is cyclical. Please check your config. (INCORRECT_DICTIONARY_DEFINITION) (version 24.3.12.76.altinitystable) (from [::1]:53246) (comment: 02504_regexp_dictionary_table_source.sql) (in query: SYSTEM RELOAD dictionary regexp_dict1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:295: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f512 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:11.485644 [ 4742 ] {4f5d8b33-622e-41ac-b7d3-e0e69ea3c72c} TCPHandler: Code: 489. DB::Exception: The regexp tree is cyclical. Please check your config. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:295: DB::RegExpTreeDictionary::initGraph() @ 0x000000001620f512 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:322: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f868 8. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 10. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:26:12.082972 [ 7110 ] {2d5c6b62-50f1-43a7-bb46-c2d82a98519f} ExternalDictionariesLoader: Could not update external dictionary 'c9adb0bd-c577-4046-90c4-ba50681921e0', leaving the previous version: Code: 489. DB::Exception: There are no available regular expression. Please check your config. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:324: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f915 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 9. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 16. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 17. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 18. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 19. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 20. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 24. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 31. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:12.084342 [ 4742 ] {2d5c6b62-50f1-43a7-bb46-c2d82a98519f} executeQuery: Code: 489. DB::Exception: There are no available regular expression. Please check your config. (INCORRECT_DICTIONARY_DEFINITION) (version 24.3.12.76.altinitystable) (from [::1]:53246) (comment: 02504_regexp_dictionary_table_source.sql) (in query: SYSTEM RELOAD dictionary regexp_dict1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:324: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f915 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 9. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 16. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 17. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 18. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 19. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 20. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 24. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 31. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 2025.03.05 21:26:12.085813 [ 4742 ] {2d5c6b62-50f1-43a7-bb46-c2d82a98519f} TCPHandler: Code: 489. DB::Exception: There are no available regular expression. Please check your config. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/RegExpTreeDictionary.cpp:324: DB::RegExpTreeDictionary::loadData() @ 0x000000001620f915 7. /build/src/Dictionaries/RegExpTreeDictionary.cpp:422: DB::RegExpTreeDictionary::RegExpTreeDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::RegExpTreeDictionary::Configuration, bool, bool, bool) @ 0x00000000162114a6 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber, DB::SettingFieldNumber, DB::SettingFieldNumber>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::RegExpTreeDictionary::Configuration&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&, DB::SettingFieldNumber&&) @ 0x0000000016239850 9. /build/src/Dictionaries/RegExpTreeDictionary.cpp:1000: DB::registerDictionaryRegExpTree(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000016218308 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000016217dfb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016217d16 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016217c96 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000016217c22 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 16. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 17. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 18. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 19. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 20. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 24. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 31. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 2025.03.05 21:26:12.648897 [ 4742 ] {2fbcc5b9-c36a-40b7-9445-70b694ede42e} executeQuery: Code: 636. DB::Exception: The table structure cannot be extracted from a Values format file. Error: Code: 27. DB::Exception: Cannot parse input: expected ')' at end of stream. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable). You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 24.3.12.76.altinitystable) (from [::1]:53304) (comment: 02502_bad_values_schema_inference.sql) (in query: desc format(Values, '(\'abc)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x0000000011aa39ec 6. /build/src/Formats/ReadSchemaUtils.cpp:279: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cf49b 7. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 8. /build/src/TableFunctions/TableFunctionFormat.cpp:90: DB::(anonymous namespace)::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018db36f5 9. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:12.649683 [ 4742 ] {2fbcc5b9-c36a-40b7-9445-70b694ede42e} TCPHandler: Code: 636. DB::Exception: The table structure cannot be extracted from a Values format file. Error: Code: 27. DB::Exception: Cannot parse input: expected ')' at end of stream. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable). You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x0000000011aa39ec 6. /build/src/Formats/ReadSchemaUtils.cpp:279: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cf49b 7. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 8. /build/src/TableFunctions/TableFunctionFormat.cpp:90: DB::(anonymous namespace)::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018db36f5 9. /build/src/Interpreters/InterpreterDescribeQuery.cpp:150: DB::InterpreterDescribeQuery::fillColumnsFromTableFunction(DB::ASTTableExpression const&) @ 0x000000001bc21fa1 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:91: DB::InterpreterDescribeQuery::execute() @ 0x000000001bc2151f 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:16.191596 [ 730 ] {b76e7ffb-8fd6-4252-a5f8-210e6e842f18} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES) (version 24.3.12.76.altinitystable) (from [::1]:53352) (comment: 02501_limits_on_result_for_view.sql) (in query: -- test SELECT * from 02501_view settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001da58c9c 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:26:16.193885 [ 4577 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:41496). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:16.194364 [ 730 ] {b76e7ffb-8fd6-4252-a5f8-210e6e842f18} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001da58c9c 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:26:21.776344 [ 5772 ] {dc1c42bc-cd9c-4715-bf26-71dd1a1eaf37} executeQuery: Code: 403. DB::Exception: Illegal expression '1' in JOIN ON section: While processing 1. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 11. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 17. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 18. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:21.777854 [ 5772 ] {dc1c42bc-cd9c-4715-bf26-71dd1a1eaf37} TCPHandler: Code: 403. DB::Exception: Illegal expression '1' in JOIN ON section: While processing 1. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 11. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 17. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 18. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:21.808947 [ 5772 ] {5b01868a-63ac-4f4f-8ce6-adf8106e6104} executeQuery: Code: 403. DB::Exception: Illegal expression '0' in JOIN ON section: While processing 0. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 11. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 17. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 18. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:21.810003 [ 5772 ] {5b01868a-63ac-4f4f-8ce6-adf8106e6104} TCPHandler: Code: 403. DB::Exception: Illegal expression '0' in JOIN ON section: While processing 0. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 11. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 17. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 18. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:22.043881 [ 5772 ] {777fd2f6-fb63-41fc-8450-761373550fe4} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '1 > 1': While processing 1 > 1. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1 > 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a6d6 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 18. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 19. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 2025.03.05 21:26:22.045300 [ 5772 ] {777fd2f6-fb63-41fc-8450-761373550fe4} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '1 > 1': While processing 1 > 1. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a6d6 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 18. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 19. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 2025.03.05 21:26:22.280793 [ 5772 ] {76739290-42bf-4110-9391-614f69014888} executeQuery: Code: 403. DB::Exception: Illegal expression '1' in JOIN ON section: While processing 1. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.446838 [ 730 ] {46c4ddad-2f32-42a9-aad0-febe0553daf2} executeQuery: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj USING (key1, key2) ambiguous identifier 'b'. In scope SELECT b FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 ASC. (AMBIGUOUS_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT b FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.446948 [ 5772 ] {76739290-42bf-4110-9391-614f69014888} TCPHandler: Code: 403. DB::Exception: Illegal expression '1' in JOIN ON section: While processing 1. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.447730 [ 730 ] {46c4ddad-2f32-42a9-aad0-febe0553daf2} TCPHandler: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj USING (key1, key2) ambiguous identifier 'b'. In scope SELECT b FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 ASC. (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.472794 [ 730 ] {e8cb57f0-6331-4d1a-a23b-fb1c509c79d9} executeQuery: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj USING (key1, key2) ambiguous identifier 'x'. In scope SELECT x FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 ASC. (AMBIGUOUS_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT x FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.473603 [ 730 ] {e8cb57f0-6331-4d1a-a23b-fb1c509c79d9} TCPHandler: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj USING (key1, key2) ambiguous identifier 'x'. In scope SELECT x FROM t ALL RIGHT JOIN tj USING (key1, key2) ORDER BY key1 ASC. (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.473782 [ 5772 ] {1008bf3b-e66a-4b2c-ae0e-92490ad10608} executeQuery: Code: 403. DB::Exception: Illegal expression '0' in JOIN ON section: While processing 0. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.475132 [ 5772 ] {1008bf3b-e66a-4b2c-ae0e-92490ad10608} TCPHandler: Code: 403. DB::Exception: Illegal expression '0' in JOIN ON section: While processing 0. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.496132 [ 5772 ] {ee6a3dd5-918a-489e-bb09-d49fe17d31ca} executeQuery: Code: 403. DB::Exception: Illegal expression 'NULL' in JOIN ON section: While processing NULL. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.497001 [ 5772 ] {ee6a3dd5-918a-489e-bb09-d49fe17d31ca} TCPHandler: Code: 403. DB::Exception: Illegal expression 'NULL' in JOIN ON section: While processing NULL. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:77: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab97f6 7. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 8. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 9. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 10. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 11. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 12. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.683069 [ 5772 ] {7f489348-3c7c-4a45-a27d-44a59403a672} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '1 != 1': While processing 1 != 1. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 != 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a6d6 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:22.683941 [ 5772 ] {7f489348-3c7c-4a45-a27d-44a59403a672} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '1 != 1': While processing 1 != 1. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a6d6 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:22.887056 [ 5772 ] {0ec54bf8-c912-4247-a4f2-7a073e93823a} executeQuery: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 1' in JOIN ON section: While processing 1 = 1. (AMBIGUOUS_COLUMN_NAME) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: -- Here is another error code because equality is handled differently in CollectJoinOnKeysVisitor. -- We can change the error code, but it will become inconsistent for other cases -- where we actually expect AMBIGUOUS_COLUMN_NAME instead of INVALID_JOIN_ON_EXPRESSION/INCOMPATIBLE_TYPE_OF_JOIN. -- These checks are more reliable after switching to a new analyzer, they return INCOMPATIBLE_TYPE_OF_JOIN consistent with cases above SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1 == 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 18. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 19. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 2025.03.05 21:26:22.887107 [ 730 ] {24499fe5-1b39-402c-abca-f516c52ad5ce} executeQuery: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'key1'. In scope SELECT key1 FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT key1 FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 ORDER BY t.key1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.888185 [ 730 ] {24499fe5-1b39-402c-abca-f516c52ad5ce} TCPHandler: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'key1'. In scope SELECT key1 FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:22.888193 [ 5772 ] {0ec54bf8-c912-4247-a4f2-7a073e93823a} TCPHandler: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 1' in JOIN ON section: While processing 1 = 1. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bab99c6 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab992e 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 18. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 19. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 2025.03.05 21:26:23.088361 [ 5772 ] {76d0b634-4128-4093-a0f3-45ec12886b11} executeQuery: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 1' in JOIN ON section: While processing 1 = 1. (AMBIGUOUS_COLUMN_NAME) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 == 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:23.089580 [ 5772 ] {76d0b634-4128-4093-a0f3-45ec12886b11} TCPHandler: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 1' in JOIN ON section: While processing 1 = 1. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:23.112669 [ 5772 ] {2c9f9f2f-9f7f-43fc-adb8-5e58353295fe} executeQuery: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 2' in JOIN ON section: While processing 1 = 2. (AMBIGUOUS_COLUMN_NAME) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 == 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:23.113754 [ 5772 ] {2c9f9f2f-9f7f-43fc-adb8-5e58353295fe} TCPHandler: Code: 352. DB::Exception: Ambiguous columns in expression '1 = 2' in JOIN ON section: While processing 1 = 2. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:115: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bb1a0b0 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:69: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001bab9724 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bab9520 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bab9921 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bab94aa 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bab91c5 12. /build/src/Interpreters/TreeRewriter.cpp:696: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001baa5a3c 13. /build/src/Interpreters/TreeRewriter.cpp:1388: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001baa1001 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:636: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b446bf1 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:26:23.359614 [ 5772 ] {35ba3c2b-031d-4bed-94b0-3c79603e2cd4} executeQuery: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, attr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.360987 [ 5772 ] {35ba3c2b-031d-4bed-94b0-3c79603e2cd4} TCPHandler: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.555738 [ 5772 ] {573fa83c-413f-4dd5-8e7d-10241ce1d56e} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, key3, attr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.556614 [ 5772 ] {573fa83c-413f-4dd5-8e7d-10241ce1d56e} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.578356 [ 5772 ] {88335894-3963-4eb3-b2e4-17f5eaa622e1} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (2) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key2, key3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.579110 [ 5772 ] {88335894-3963-4eb3-b2e4-17f5eaa622e1} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (2) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.599566 [ 5772 ] {99e1e48f-e838-40c0-bfdd-aa9255c6558a} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.attr;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.600377 [ 5772 ] {99e1e48f-e838-40c0-bfdd-aa9255c6558a} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.604613 [ 730 ] {367ab0e9-2c1b-4d46-b25d-f5c4663b00fa} executeQuery: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'b'. In scope SELECT b FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT b FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 ORDER BY t.key1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:23.606465 [ 730 ] {367ab0e9-2c1b-4d46-b25d-f5c4663b00fa} TCPHandler: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'b'. In scope SELECT b FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:23.623117 [ 5772 ] {844be032-8945-40a2-b877-e30e8f20ec43} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.623946 [ 5772 ] {844be032-8945-40a2-b877-e30e8f20ec43} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.638411 [ 730 ] {799e252b-576b-48b8-87de-10bedab24a69} executeQuery: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'x'. In scope SELECT x FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT x FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 ORDER BY t.key1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:23.639436 [ 730 ] {799e252b-576b-48b8-87de-10bedab24a69} TCPHandler: Code: 207. DB::Exception: JOIN test_x4vzgkz6.t ALL RIGHT JOIN test_x4vzgkz6.tj ON (test_x4vzgkz6.t.key1 = test_x4vzgkz6.tj.key1) AND (test_x4vzgkz6.t.key2 = test_x4vzgkz6.tj.key2) ambiguous identifier 'x'. In scope SELECT x FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) ORDER BY t.key1 ASC. (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3621: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c6344 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3887: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4bc5 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:26:23.651770 [ 5772 ] {8ccf9e6f-593d-4468-b9d4-a4df01d271fa} executeQuery: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key2 = tj.key2 AND t1.key3 = tj.attr;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.652628 [ 5772 ] {8ccf9e6f-593d-4468-b9d4-a4df01d271fa} TCPHandler: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.682295 [ 5772 ] {a9612761-eac6-4bf0-8959-235cdd2bf700} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key2 = tj.key2 AND t1.key3 = tj.key3 AND t1.key1 = tj.key1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:23.683131 [ 5772 ] {a9612761-eac6-4bf0-8959-235cdd2bf700} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1151: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001a6ccc5a 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:929: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001a6cc37c 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1945: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001a6d6cd2 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1059: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b453684 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:26:24.036850 [ 730 ] {8501d1c1-2fa2-4d09-8a93-0e650d24b290} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column 'plus(__table2.key2, 1_UInt8)' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 + 1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.037785 [ 730 ] {8501d1c1-2fa2-4d09-8a93-0e650d24b290} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column 'plus(__table2.key2, 1_UInt8)' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.323561 [ 730 ] {6c11d2fe-f12c-4c3d-b529-69047e843a55} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '_CAST(1_UInt8, 'UInt8'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND 1 == 1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.324399 [ 730 ] {6c11d2fe-f12c-4c3d-b529-69047e843a55} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '_CAST(1_UInt8, 'UInt8'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.507278 [ 730 ] {21df3da1-f626-4b71-ba4d-094721f5291c} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND 1 == 2 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.508532 [ 730 ] {21df3da1-f626-4b71-ba4d-094721f5291c} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.561861 [ 730 ] {2a28fd5b-93f8-4e7c-83ad-317fab17f04c} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column 'equals(__table2.a, 20_UInt8)' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND tj.a == 20 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.563134 [ 730 ] {2a28fd5b-93f8-4e7c-83ad-317fab17f04c} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column 'equals(__table2.a, 20_UInt8)' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.697001 [ 1582 ] {7060e13c-4271-4505-ad01-7e9c9b903e9a} executeQuery: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY) (version 24.3.12.76.altinitystable) (from [::1]:39298) (comment: 02514_database_replicated_no_arguments_for_rmt.sh) (in query: CREATE TABLE test_3tkrlgpw_db.tab_rmt_fail (`x` UInt32) ENGINE = ReplicatedMergeTree('/clickhouse/tables/02514_database_replicated_no_arguments_for_rmt_test_3tkrlgpw/root/{shard}', '{replica}') ORDER BY x SETTINGS index_granularity = 37286, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 128, min_bytes_for_full_part_storage = 229186966, compact_parts_max_bytes_to_buffer = 21241381, compact_parts_max_granules_to_buffer = 3, compact_parts_merge_max_bytes_to_prefetch_part = 18950434, merge_max_block_size = 21272, old_parts_lifetime = 170., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 45, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 15646197, concurrent_part_removal_threshold = 65, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 93866, primary_key_compress_block_size = 23847), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Databases/DatabaseReplicated.cpp:717: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0f4065 7. /build/src/Databases/DatabaseReplicated.cpp:776: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f4bb7 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1294: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b016d01 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.698015 [ 1582 ] {7060e13c-4271-4505-ad01-7e9c9b903e9a} TCPHandler: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Databases/DatabaseReplicated.cpp:717: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0f4065 7. /build/src/Databases/DatabaseReplicated.cpp:776: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f4bb7 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1294: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b016d01 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.732136 [ 730 ] {445cc00e-29d7-49e3-9dc5-45e1dba74524} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND 1 != 1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.733106 [ 730 ] {445cc00e-29d7-49e3-9dc5-45e1dba74524} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.770571 [ 730 ] {d5bf84d5-a963-4abd-a87b-fa73e9eb912c} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '_CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND NULL FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.771405 [ 730 ] {d5bf84d5-a963-4abd-a87b-fa73e9eb912c} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '_CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:24.950744 [ 730 ] {5e434ab1-db94-4c5f-95ee-53eb947eb092} executeQuery: Code: 43. DB::Exception: Illegal type (String) of 3 argument of function and: In scope SELECT * FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) AND 'aaa'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND 'aaa' FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190ac6d5 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:24.952054 [ 730 ] {5e434ab1-db94-4c5f-95ee-53eb947eb092} TCPHandler: Code: 43. DB::Exception: Illegal type (String) of 3 argument of function and: In scope SELECT * FROM t ALL RIGHT JOIN tj ON (t.key1 = tj.key1) AND (t.key2 = tj.key2) AND 'aaa'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190ac6d5 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7741: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d1ec1 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:26:25.112078 [ 730 ] {7016dcac-cc83-4154-bed6-0c045b8cb64e} executeQuery: Code: 403. DB::Exception: JOIN test_x4vzgkz6.t AS __table1 ALL RIGHT JOIN test_x4vzgkz6.tj AS __table2 ON 'aaa' join expression expected function. (INVALID_JOIN_ON_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON 'aaa' FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Planner/PlannerJoins.cpp:424: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001b5c1464 7. /build/src/Planner/PlannerJoins.cpp:654: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b5c123a 8. /build/src/Planner/PlannerJoinTree.cpp:1116: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b554c5a 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.112110 [ 5772 ] {26d09d6a-60a5-4478-961f-65f3577fcbf2} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key3, key2, key1], but column '1_UInt8' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.113156 [ 5772 ] {26d09d6a-60a5-4478-961f-65f3577fcbf2} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key3, key2, key1], but column '1_UInt8' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.113242 [ 730 ] {7016dcac-cc83-4154-bed6-0c045b8cb64e} TCPHandler: Code: 403. DB::Exception: JOIN test_x4vzgkz6.t AS __table1 ALL RIGHT JOIN test_x4vzgkz6.tj AS __table2 ON 'aaa' join expression expected function. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Planner/PlannerJoins.cpp:424: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001b5c1464 7. /build/src/Planner/PlannerJoins.cpp:654: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b5c123a 8. /build/src/Planner/PlannerJoinTree.cpp:1116: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b554c5a 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.151064 [ 5772 ] {cdaae15b-8313-40a4-a7d4-13369ca88082} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.152025 [ 5772 ] {cdaae15b-8313-40a4-a7d4-13369ca88082} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.156328 [ 730 ] {3511dd6c-e38d-4b22-abb5-88f3b68867d8} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '1_UInt8' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON t.key1 == tj.key1 AND t.key2 == tj.key2 AND 1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.157323 [ 730 ] {3511dd6c-e38d-4b22-abb5-88f3b68867d8} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key1, key2], but column '1_UInt8' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.190399 [ 730 ] {d93e5b73-602b-4831-9c68-e13e53e762c0} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON 0 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.191517 [ 730 ] {d93e5b73-602b-4831-9c68-e13e53e762c0} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key1, key2]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.199378 [ 5772 ] {26e17c51-f8aa-4199-8bb1-325eba3ac721} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1 > 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.200553 [ 5772 ] {26e17c51-f8aa-4199-8bb1-325eba3ac721} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.357671 [ 730 ] {0051732f-7411-4f9a-b3ce-70a608716963} executeQuery: Code: 264. DB::Exception: Table 'test_x4vzgkz6.tj (c0ecf939-137e-42b7-973a-6648739afc24)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39240) (comment: 02495_analyzer_storage_join.sql) (in query: SELECT * FROM t ALL RIGHT JOIN tj ON 1 FORMAT TSVWithNames;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.357721 [ 5772 ] {cd97a72d-9981-4d6c-b1f5-736e4d21dd40} executeQuery: Code: 264. DB::Exception: Table 'test_r2ypqx1o.tj (897eb12a-6b88-4899-ab95-db198186680a)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.358702 [ 730 ] {0051732f-7411-4f9a-b3ce-70a608716963} TCPHandler: Code: 264. DB::Exception: Table 'test_x4vzgkz6.tj (c0ecf939-137e-42b7-973a-6648739afc24)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.358925 [ 5772 ] {cd97a72d-9981-4d6c-b1f5-736e4d21dd40} TCPHandler: Code: 264. DB::Exception: Table 'test_r2ypqx1o.tj (897eb12a-6b88-4899-ab95-db198186680a)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.392316 [ 5772 ] {56164ad4-b6b3-4785-8871-77ac61363cb5} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.393390 [ 5772 ] {56164ad4-b6b3-4785-8871-77ac61363cb5} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.426473 [ 5772 ] {a9c6b929-97c9-4436-9ab3-778f6ad30acd} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.427959 [ 5772 ] {a9c6b929-97c9-4436-9ab3-778f6ad30acd} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.468845 [ 5772 ] {b75848e9-3701-4e6b-8cd2-7eb5c38e7daf} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 != 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.469997 [ 5772 ] {b75848e9-3701-4e6b-8cd2-7eb5c38e7daf} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.527517 [ 5772 ] {fff84c94-0f31-43fd-984b-d42449db81a4} executeQuery: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key3, key2, key1], but column '_CAST(1_UInt8, 'UInt8'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: -- Here is another error code because equality is handled differently in CollectJoinOnKeysVisitor. -- We can change the error code, but it will become inconsistent for other cases -- where we actually expect AMBIGUOUS_COLUMN_NAME instead of INVALID_JOIN_ON_EXPRESSION/INCOMPATIBLE_TYPE_OF_JOIN. -- These checks are more reliable after switching to a new analyzer, they return INCOMPATIBLE_TYPE_OF_JOIN consistent with cases above SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key3 = tj.key3 AND t1.key2 = tj.key2 AND 1 == 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.528355 [ 5772 ] {fff84c94-0f31-43fd-984b-d42449db81a4} TCPHandler: Code: 264. DB::Exception: JOIN with 'Join' table engine should be performed by storage keys [key3, key2, key1], but column '_CAST(1_UInt8, 'UInt8'_String)' was found. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type, std::type_identity::type>, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001b5c650c 6. /build/src/Planner/PlannerJoins.cpp:860: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c324f 7. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 8. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.561846 [ 5772 ] {a3da0360-624c-4682-89e4-99d954316129} executeQuery: Code: 264. DB::Exception: Table 'test_r2ypqx1o.tj (897eb12a-6b88-4899-ab95-db198186680a)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 == 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.562482 [ 5772 ] {a3da0360-624c-4682-89e4-99d954316129} TCPHandler: Code: 264. DB::Exception: Table 'test_r2ypqx1o.tj (897eb12a-6b88-4899-ab95-db198186680a)' has incompatible type of JOIN. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/StorageJoin.cpp:187: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdb76 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.585823 [ 5772 ] {6984849b-9a0c-44a0-b7c5-ba28376cf453} executeQuery: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON 1 == 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.586895 [ 5772 ] {6984849b-9a0c-44a0-b7c5-ba28376cf453} TCPHandler: Code: 264. DB::Exception: JOIN keys should match to the Join engine keys [key3, key2, key1]. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Storages/StorageJoin.cpp:197: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3bdf83 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.797703 [ 5772 ] {f9e9b35d-a932-4fad-8109-5d8024056767} executeQuery: Code: 47. DB::Exception: JOIN test_r2ypqx1o.t1 ALL INNER JOIN test_r2ypqx1o.tj USING (key1, key2, attr) using identifier 'attr' cannot be resolved from left table expression. In scope SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, attr). (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, attr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:26:25.798644 [ 5772 ] {f9e9b35d-a932-4fad-8109-5d8024056767} TCPHandler: Code: 47. DB::Exception: JOIN test_r2ypqx1o.t1 ALL INNER JOIN test_r2ypqx1o.tj USING (key1, key2, attr) using identifier 'attr' cannot be resolved from left table expression. In scope SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, attr). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:26:25.821739 [ 5772 ] {b733cc70-fe92-4e10-85e6-27905f4a6c37} executeQuery: Code: 47. DB::Exception: JOIN test_r2ypqx1o.t1 ALL INNER JOIN test_r2ypqx1o.tj USING (key1, key2, key3, attr) using identifier 'attr' cannot be resolved from left table expression. In scope SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, key3, attr). (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, key3, attr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:26:25.823277 [ 5772 ] {b733cc70-fe92-4e10-85e6-27905f4a6c37} TCPHandler: Code: 47. DB::Exception: JOIN test_r2ypqx1o.t1 ALL INNER JOIN test_r2ypqx1o.tj USING (key1, key2, key3, attr) using identifier 'attr' cannot be resolved from left table expression. In scope SELECT * FROM t1 ALL INNER JOIN tj USING (key1, key2, key3, attr). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:26:25.983458 [ 5772 ] {9eff4b61-0ec9-4f86-aca5-2ce4fed6acd3} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (2) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj USING (key2, key3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:25.984328 [ 5772 ] {9eff4b61-0ec9-4f86-aca5-2ce4fed6acd3} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (2) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.013526 [ 5772 ] {9531c71f-9c40-418f-b6d8-b21066c2ea9c} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.attr;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.014429 [ 5772 ] {9531c71f-9c40-418f-b6d8-b21066c2ea9c} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.052136 [ 5772 ] {9ac51497-9923-497e-9a8e-ac0fee23769c} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.053184 [ 5772 ] {9ac51497-9923-497e-9a8e-ac0fee23769c} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (1) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.234125 [ 5772 ] {446485d2-37eb-4afd-af39-7d2a59b95d20} executeQuery: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key2 = tj.key2 AND t1.key3 = tj.attr;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.235162 [ 5772 ] {446485d2-37eb-4afd-af39-7d2a59b95d20} TCPHandler: Code: 264. DB::Exception: Key 'key3' not found in JOIN ON section. Join engine keys 'key3, key2, key1' have to be used. (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type>, String const&, char const*&&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0d08 6. /build/src/Storages/StorageJoin.cpp:231: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be4e9 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.274552 [ 5772 ] {4006c40e-ca17-4944-b6b6-dd187521513c} executeQuery: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN) (version 24.3.12.76.altinitystable) (from [::1]:39244) (comment: 02498_storage_join_key_positions.gen.sql) (in query: SELECT * FROM t1 ALL INNER JOIN tj ON t1.key1 = tj.key1 AND t1.key2 = tj.key2 AND t1.key3 = tj.key3 AND t1.key1 = tj.key1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:26.275678 [ 5772 ] {4006c40e-ca17-4944-b6b6-dd187521513c} TCPHandler: Code: 264. DB::Exception: Number of keys in JOIN ON section (4) doesn't match number of keys in Join engine (3). (INCOMPATIBLE_TYPE_OF_JOIN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x0000000013237d8c 6. /build/src/Storages/StorageJoin.cpp:207: DB::StorageJoin::getJoinLocked(std::shared_ptr, std::shared_ptr, std::vector> const&) const @ 0x000000001c3be220 7. /build/src/Planner/PlannerJoins.cpp:867: DB::chooseJoinAlgorithm(std::shared_ptr&, std::shared_ptr const&, DB::Block const&, DB::Block const&, std::shared_ptr const&) @ 0x000000001b5c3391 8. /build/src/Planner/PlannerJoinTree.cpp:1361: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b556b13 9. /build/src/Planner/PlannerJoinTree.cpp:1721: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54dac5 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:29.812747 [ 893 ] {} test_9g0zd9eu.rmt (035a997e-e4b5-449e-9126-9604a25e97a6): Found 2 empty unexpected parts (probably some dropped parts were not cleaned up before restart): [0_0_0_1, 1_0_0_1] 2025.03.05 21:26:29.895099 [ 911 ] {} test_9g0zd9eu.rmt1 (a48c7f9d-5045-459b-a7a6-7d43217d8fcb): Found 1 empty unexpected parts (probably some dropped parts were not cleaned up before restart): [1_0_0_1] 2025.03.05 21:26:31.740574 [ 1033 ] {} test_9g0zd9eu.rmt (035a997e-e4b5-449e-9126-9604a25e97a6): Found 2 empty unexpected parts (probably some dropped parts were not cleaned up before restart): [0_3_5_1, 1_2_4_1] 2025.03.05 21:26:31.825905 [ 1042 ] {} test_9g0zd9eu.rmt1 (a48c7f9d-5045-459b-a7a6-7d43217d8fcb): Found 1 empty unexpected parts (probably some dropped parts were not cleaned up before restart): [1_2_4_1] 2025.03.05 21:26:34.683836 [ 1584 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Access/IAccessStorage.cpp:763: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001962bf5b 7. /build/src/Access/IAccessStorage.cpp:537: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962bc1d 8. /build/src/Access/IAccessStorage.cpp:511: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962b9d3 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x00000000196c028a 10. /build/src/Access/IAccessStorage.cpp:499: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001962b908 11. /build/src/Access/AccessControl.cpp:600: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf45a 12. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 13. /build/src/Interpreters/Session.cpp:332: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b0c49 14. /build/src/Server/TCPHandler.cpp:1532: DB::TCPHandler::receiveHello() @ 0x000000001d47788f 15. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:34.816898 [ 1584 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Access/AccessControl.cpp:625: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf8f9 7. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 8. /build/src/Interpreters/Session.cpp:332: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b0c49 9. /build/src/Server/TCPHandler.cpp:1532: DB::TCPHandler::receiveHello() @ 0x000000001d47788f 10. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.041720 [ 730 ] {8884cf06-8d4b-4eb0-8051-1a454feaa298} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE table: There is an outdated part in a gap between two active parts (all_2_2_0, all_4_4_0) with merge level 1 higher than these active parts have. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE) (version 24.3.12.76.altinitystable) (from [::1]:56978) (comment: 02521_merge_over_gap.sh) (in query: OPTIMIZE TABLE table_with_gap FINAL SETTINGS optimize_throw_if_noop=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageMergeTree.cpp:1604: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d100d9c 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:84: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1ad45 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:38.043995 [ 730 ] {8884cf06-8d4b-4eb0-8051-1a454feaa298} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE table: There is an outdated part in a gap between two active parts (all_2_2_0, all_4_4_0) with merge level 1 higher than these active parts have. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageMergeTree.cpp:1604: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d100d9c 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:84: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1ad45 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:26:38.161983 [ 1584 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Access/IAccessStorage.cpp:763: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001962bf5b 7. /build/src/Access/IAccessStorage.cpp:537: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962bc1d 8. /build/src/Access/IAccessStorage.cpp:511: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962b9d3 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x00000000196c028a 10. /build/src/Access/IAccessStorage.cpp:499: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001962b908 11. /build/src/Access/AccessControl.cpp:600: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf45a 12. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 13. /build/src/Interpreters/Session.cpp:332: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b0c49 14. /build/src/Server/TCPHandler.cpp:1532: DB::TCPHandler::receiveHello() @ 0x000000001d47788f 15. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.163053 [ 1584 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Access/AccessControl.cpp:625: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf8f9 7. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 8. /build/src/Interpreters/Session.cpp:332: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b0c49 9. /build/src/Server/TCPHandler.cpp:1532: DB::TCPHandler::receiveHello() @ 0x000000001d47788f 10. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.348884 [ 4577 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Access/IAccessStorage.cpp:763: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001962bf5b 7. /build/src/Access/IAccessStorage.cpp:537: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962bc1d 8. /build/src/Access/IAccessStorage.cpp:511: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962b9d3 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x00000000196c028a 10. /build/src/Access/IAccessStorage.cpp:499: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001962b908 11. /build/src/Access/AccessControl.cpp:600: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf45a 12. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 13. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 14. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.463181 [ 4577 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Access/AccessControl.cpp:625: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf8f9 7. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 8. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 9. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 10. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.473685 [ 4577 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Access/IAccessStorage.cpp:763: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001962bf5b 7. /build/src/Access/IAccessStorage.cpp:537: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962bc1d 8. /build/src/Access/IAccessStorage.cpp:511: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962b9d3 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x00000000196c028a 10. /build/src/Access/IAccessStorage.cpp:499: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001962b908 11. /build/src/Access/AccessControl.cpp:600: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf45a 12. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 13. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 14. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:38.474958 [ 4577 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Access/AccessControl.cpp:625: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf8f9 7. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 8. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 9. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 10. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:26:39.319879 [ 7109 ] {c36bd147-8ac3-49ea-b66c-0907acc98188} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f38aabc1-6200-493c-b0dc-8b7072db2b40. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:39.320484 [ 7109 ] {c36bd147-8ac3-49ea-b66c-0907acc98188} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f655b6fd-6d50-4ca2-992b-892652608f74. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:40.849726 [ 1695 ] {22ce4c9f-3294-464d-a57b-60179bea1c75} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id adfd7ec8-7b0e-4ea4-9667-3bb82b019289. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:42.396677 [ 7109 ] {b4b4b4da-5057-4a41-bf20-4afb33f66a60} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id aff91147-1a37-4cb0-bd56-d94aec0f892b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:43.176413 [ 1695 ] {feb5c10a-d97a-48a9-b690-8602e963b0b2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id c7c17759-0e02-42cb-80ea-258b799874b9. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:44.272316 [ 1695 ] {d1141e21-b0c3-49e4-a7b6-f6fa20212a20} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 22f2c745-786b-4952-911f-573403a50758. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:44.807892 [ 7109 ] {509ff6ca-fbfe-4822-b97a-bc275575c3f2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 10eebf60-37ce-437e-b435-87ebdd2e36a4. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:44.808391 [ 7109 ] {509ff6ca-fbfe-4822-b97a-bc275575c3f2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 881201ec-13ab-4197-8bea-b4b1d6be92f2. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:45.154595 [ 7109 ] {d121b03c-d0a1-4f71-85ad-f98d513ebff7} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id be0b48ff-ad60-4b0c-9271-49c09d4a2f64. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:45.489268 [ 7109 ] {8c489de9-fa42-48db-b972-b033fd662037} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id be463f6b-2eed-419a-aad2-57111c1267d3. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:45.611691 [ 1695 ] {9d755aed-1d63-4fa2-a8c6-831bba3429dd} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id b1364d48-202e-428e-9646-12ec207880ff. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:45.889172 [ 1695 ] {a59f76f0-70a3-413b-9a24-d24236071cb8} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 16be3fd3-21a0-4447-a578-1dd8a1f045ab. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:46.470092 [ 1695 ] {779885f9-a763-415a-b75b-96471ee3e3e6} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 93b8d4b3-e10d-4eef-b7b0-942ead78e8cb. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:47.261289 [ 1695 ] {609b8fc6-d2cb-4ad3-8a5c-b75c3fcd7f7b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 76eaab75-3a19-49b4-ae77-253af605dec8. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:47.443351 [ 7109 ] {72bb27c4-5c4c-4dd2-b620-08cfd5116313} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2cc8b8c3-129d-4a94-81b5-c69adcff68bd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:47.862798 [ 7109 ] {c6d1459a-6354-4cda-8ca2-ef097ad0f886} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7389bc71-a86a-42bb-880c-62ad979e9792. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:48.238611 [ 7109 ] {66b1df1f-468e-4dcd-92cb-60953e9c24ab} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 5e4c3f17-fc00-4f00-9846-363a7d29a83f. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:48.239094 [ 7109 ] {66b1df1f-468e-4dcd-92cb-60953e9c24ab} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 68ff4992-e2d8-4855-9b48-def09a614900. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:48.504086 [ 10263 ] {d59df666-145d-4444-b038-fdcbdd2a47ed} executeQuery: Code: 131. DB::Exception: String size is too big (2147483648), maximum: 2147483647: while executing 'FUNCTION CAST(concat(_CAST('ÿÿÿ'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('ÿÿÿ'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^31-1', maxMerge(x) from (select CAST(unhex('ffffff7f') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int const&) @ 0x00000000148f5f8c 6. /build/src/AggregateFunctions/SingleValueData.cpp:1075: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x00000000148ada0b 7. /build/src/AggregateFunctions/SingleValueData.cpp:1153: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae04e 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:48.507981 [ 10263 ] {d59df666-145d-4444-b038-fdcbdd2a47ed} TCPHandler: Code: 131. DB::Exception: String size is too big (2147483648), maximum: 2147483647: while executing 'FUNCTION CAST(concat(_CAST('ÿÿÿ'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('ÿÿÿ'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int const&) @ 0x00000000148f5f8c 6. /build/src/AggregateFunctions/SingleValueData.cpp:1075: DB::SingleValueDataString::allocateLargeDataIfNeeded(unsigned int, DB::Arena*) @ 0x00000000148ada0b 7. /build/src/AggregateFunctions/SingleValueData.cpp:1153: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae04e 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:49.539263 [ 1695 ] {b3007b30-8431-4e8d-a23b-c7122afa6fcd} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 312057ca-feab-4923-95f8-0c2f0436be17. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:50.253014 [ 10263 ] {078aa1e2-94cb-4eae-b119-6e32725456da} executeQuery: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 2147483646.: while executing 'FUNCTION CAST(concat(_CAST('þÿÿ'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('þÿÿ'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^31-2', maxMerge(x) from (select CAST(unhex('feffff7f') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:50.255906 [ 10263 ] {078aa1e2-94cb-4eae-b119-6e32725456da} TCPHandler: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 2147483646.: while executing 'FUNCTION CAST(concat(_CAST('þÿÿ'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('þÿÿ'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:50.637634 [ 1695 ] {73b88c70-c34e-4cc8-bfde-4f8a86e670a2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 8a5bbfa9-5220-4882-80f4-967e3e324d04. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:50.638202 [ 1695 ] {73b88c70-c34e-4cc8-bfde-4f8a86e670a2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 701ffe24-25bb-4a65-b7bb-0f025457b078. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:51.023878 [ 1695 ] {2622dcf6-bf0c-4e4c-8cf1-0ecf5a535608} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 878e83cc-a420-4cdf-a2af-b387868a3c32. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:51.024509 [ 1695 ] {2622dcf6-bf0c-4e4c-8cf1-0ecf5a535608} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 5e1fc64c-b858-4d24-9b9a-9e8c474b651a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:51.284268 [ 10263 ] {75e943cf-2217-4d3a-8af1-0247e9cf6782} executeQuery: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741824.: while executing 'FUNCTION CAST(concat(_CAST('\0\0\0@'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('\0\0\0@'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^30', maxMerge(x) from (select CAST(unhex('00000040') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:51.287239 [ 10263 ] {75e943cf-2217-4d3a-8af1-0247e9cf6782} TCPHandler: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741824.: while executing 'FUNCTION CAST(concat(_CAST('\0\0\0@'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('\0\0\0@'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:51.312659 [ 1695 ] {362e34d0-ae50-416c-a793-357e601bef5b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 46681906-7307-400d-bc87-ffe69d51dd01. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:52.176384 [ 7109 ] {ccbb9ac4-adc6-426f-bbee-fdef63e8329d} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7861d4d1-7d4f-4e16-b847-a8bded20475f. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:52.647634 [ 1582 ] {f6af3aad-309c-426c-9a48-f725ddb9d482} PushingToViews: Trying to access table test_fp280vi8.test_race_condition_mv_3 but it doesn't exist 2025.03.05 21:26:52.647879 [ 1582 ] {f6af3aad-309c-426c-9a48-f725ddb9d482} PushingToViews: Trying to access table test_fp280vi8.test_race_condition_mv_1 but it doesn't exist 2025.03.05 21:26:52.765311 [ 10217 ] {dd04a184-457b-46f7-8ce1-5cabcbd4dc56} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByChar, expected const Number, got String: In scope SELECT splitByChar(',', '1,2,3', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByChar(',', '1,2,3', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:52.765353 [ 10263 ] {003e90e5-2beb-459d-abe2-5d412198ecf5} executeQuery: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741825.: while executing 'FUNCTION CAST(concat(_CAST('\0\0@'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('\0\0@'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^30+1', maxMerge(x) from (select CAST(unhex('01000040') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:52.766509 [ 10217 ] {dd04a184-457b-46f7-8ce1-5cabcbd4dc56} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByChar, expected const Number, got String: In scope SELECT splitByChar(',', '1,2,3', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:52.768777 [ 10263 ] {003e90e5-2beb-459d-abe2-5d412198ecf5} TCPHandler: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741825.: while executing 'FUNCTION CAST(concat(_CAST('\0\0@'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('\0\0@'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:52.936791 [ 10217 ] {c04abd99-210c-4cd0-b3dc-f746a55db7d4} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByRegexp, expected const Number, got String: In scope SELECT splitByRegexp('[ABC]', 'oneAtwoBthreeC', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByRegexp('[ABC]', 'oneAtwoBthreeC', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8774c 9. /build/src/Functions/splitByRegexp.cpp:52: DB::(anonymous namespace)::SplitByRegexpImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8765d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b86d7d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:52.937902 [ 10217 ] {c04abd99-210c-4cd0-b3dc-f746a55db7d4} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByRegexp, expected const Number, got String: In scope SELECT splitByRegexp('[ABC]', 'oneAtwoBthreeC', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8774c 9. /build/src/Functions/splitByRegexp.cpp:52: DB::(anonymous namespace)::SplitByRegexpImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8765d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b86d7d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:52.972239 [ 7109 ] {74e91c4d-56df-4544-b5f3-be2b15f23423} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f85254f5-4c20-4bb8-bea2-4e8a79477517. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:53.115824 [ 10217 ] {eb170a99-b6ca-421f-bdb2-c097d220fda0} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function alphaTokens, expected const Number, got String: In scope SELECT alphaTokens('abca1abc', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT alphaTokens('abca1abc', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c864a 9. /build/src/Functions/alphaTokens.cpp:40: DB::(anonymous namespace)::SplitByAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c857d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c80bd 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.116884 [ 10217 ] {eb170a99-b6ca-421f-bdb2-c097d220fda0} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function alphaTokens, expected const Number, got String: In scope SELECT alphaTokens('abca1abc', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c864a 9. /build/src/Functions/alphaTokens.cpp:40: DB::(anonymous namespace)::SplitByAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c857d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c80bd 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.139369 [ 10217 ] {5d4d45a4-1369-427c-ace5-c15bffbefd4f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function alphaTokens, expected const Number, got String: In scope SELECT splitByAlpha('abca1abc', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByAlpha('abca1abc', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c864a 9. /build/src/Functions/alphaTokens.cpp:40: DB::(anonymous namespace)::SplitByAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c857d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c80bd 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.140389 [ 10217 ] {5d4d45a4-1369-427c-ace5-c15bffbefd4f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function alphaTokens, expected const Number, got String: In scope SELECT splitByAlpha('abca1abc', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c864a 9. /build/src/Functions/alphaTokens.cpp:40: DB::(anonymous namespace)::SplitByAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x000000000b9c857d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c80bd 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.343270 [ 10217 ] {43a092d3-c1e6-4e57-94c7-af6c4ec6d6a8} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function splitByNonAlpha, expected const Number, got String: In scope SELECT splitByNonAlpha(' 1! a, b. ', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByNonAlpha(' 1! a, b. ', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8506a 9. /build/src/Functions/splitByNonAlpha.cpp:50: DB::(anonymous namespace)::SplitByNonAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b84f9d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b84a9d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.344146 [ 10217 ] {43a092d3-c1e6-4e57-94c7-af6c4ec6d6a8} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function splitByNonAlpha, expected const Number, got String: In scope SELECT splitByNonAlpha(' 1! a, b. ', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8506a 9. /build/src/Functions/splitByNonAlpha.cpp:50: DB::(anonymous namespace)::SplitByNonAlphaImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b84f9d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b84a9d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.537554 [ 10217 ] {db489e7c-8239-4bc3-b886-00ffbcf55593} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function splitByWhitespace, expected const Number, got String: In scope SELECT splitByWhitespace(' 1! a, b. ', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByWhitespace(' 1! a, b. ', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8bf2a 9. /build/src/Functions/splitByWhitespace.cpp:38: DB::(anonymous namespace)::SplitByWhitespaceImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8be5d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8b99d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.537647 [ 10263 ] {57829bc9-58d1-4a7a-ab29-7ef4160bd7b5} executeQuery: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741823.: while executing 'FUNCTION CAST(concat(_CAST('ÿÿÿ?'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('ÿÿÿ?'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT '2^30-1', maxMerge(x) from (select CAST(unhex('ffffff3f') || randomString(100500), 'AggregateFunction(max, String)') as x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:53.538434 [ 10217 ] {db489e7c-8239-4bc3-b886-00ffbcf55593} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'max_substrings' of function splitByWhitespace, expected const Number, got String: In scope SELECT splitByWhitespace(' 1! a, b. ', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:210: DB::checkArgumentsWithOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8bf2a 9. /build/src/Functions/splitByWhitespace.cpp:38: DB::(anonymous namespace)::SplitByWhitespaceImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b8be5d 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8b99d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.542591 [ 10263 ] {57829bc9-58d1-4a7a-ab29-7ef4160bd7b5} TCPHandler: Code: 33. DB::Exception: Cannot read all data. Bytes read: 100500. Bytes expected: 1073741823.: while executing 'FUNCTION CAST(concat(_CAST('ÿÿÿ?'_String, 'String'_String), randomString(100500_UInt32)) :: 2, 'AggregateFunction(max, String)'_String :: 3) -> CAST(concat(_CAST('ÿÿÿ?'_String, 'String'_String), randomString(100500_UInt32)), 'AggregateFunction(max, String)'_String) AggregateFunction(max, String) : 4'. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/IO/ReadBuffer.h:199: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000afd1c6f 7. /build/src/AggregateFunctions/SingleValueData.cpp:0: DB::SingleValueDataString::read(DB::ReadBuffer&, DB::ISerialization const&, DB::Arena*) @ 0x00000000148ae06a 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:128: DB::(anonymous namespace)::AggregateFunctionMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000148a5120 9. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 10. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 11. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 12. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 24. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 30. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 31. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 2025.03.05 21:26:53.735660 [ 10217 ] {04532070-71a1-43a8-b075-9482893a77bf} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByString, expected const Number, got String: In scope SELECT splitByString(', ', '1, 2 3, 4,5, abcde', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:34980) (comment: 02475_split_with_max_substrings.sql) (in query: SELECT splitByString(', ', '1, 2 3, 4,5, abcde', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b89cec 9. /build/src/Functions/splitByString.cpp:47: DB::(anonymous namespace)::SplitByStringImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b89bfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8945d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.736692 [ 10217 ] {04532070-71a1-43a8-b075-9482893a77bf} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'max_substrings' of function splitByString, expected const Number, got String: In scope SELECT splitByString(', ', '1, 2 3, 4,5, abcde', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b89cec 9. /build/src/Functions/splitByString.cpp:47: DB::(anonymous namespace)::SplitByStringImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b89bfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8945d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:26:53.949291 [ 10263 ] {3720968c-26fe-403a-9b2d-fb580c1ff6f7} executeQuery: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (true) != has_result (false): In scope SELECT 'fuzz1', finalizeAggregation(CAST(unhex('3000000\0303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353600010000000000000000'), 'AggregateFunction(argMax, String, UInt64)')). (CORRUPTED_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT 'fuzz1', finalizeAggregation(CAST(unhex('3000000\0303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353600010000000000000000'), 'AggregateFunction(argMax, String, UInt64)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:53.950327 [ 10263 ] {3720968c-26fe-403a-9b2d-fb580c1ff6f7} TCPHandler: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (true) != has_result (false): In scope SELECT 'fuzz1', finalizeAggregation(CAST(unhex('3000000\0303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353600010000000000000000'), 'AggregateFunction(argMax, String, UInt64)')). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.019071 [ 10263 ] {eadd0b06-300c-411b-8b53-49bddffbbf65} executeQuery: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz3', finalizeAggregation(CAST(unhex(concat('04000000', '30313233', '00', 'ffffffffffffffff')), 'AggregateFunction(argMax, String, UInt64)')) AS x, length(x). (CORRUPTED_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT 'fuzz3', finalizeAggregation(CAST(unhex('04000000' || '30313233' || '00' || 'ffffffffffffffff'), 'AggregateFunction(argMax, String, UInt64)')) as x, length(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.020284 [ 10263 ] {eadd0b06-300c-411b-8b53-49bddffbbf65} TCPHandler: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz3', finalizeAggregation(CAST(unhex(concat('04000000', '30313233', '00', 'ffffffffffffffff')), 'AggregateFunction(argMax, String, UInt64)')) AS x, length(x). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.048647 [ 10263 ] {d87e7a63-5da3-4b1b-ae1b-f91a8204e32d} executeQuery: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz4', finalizeAggregation(CAST(unhex(concat('04000000', '30313233', '00')), 'AggregateFunction(argMax, String, UInt64)')) AS x, length(x). (CORRUPTED_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT 'fuzz4', finalizeAggregation(CAST(unhex('04000000' || '30313233' || '00'), 'AggregateFunction(argMax, String, UInt64)')) as x, length(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.049617 [ 10263 ] {d87e7a63-5da3-4b1b-ae1b-f91a8204e32d} TCPHandler: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz4', finalizeAggregation(CAST(unhex(concat('04000000', '30313233', '00')), 'AggregateFunction(argMax, String, UInt64)')) AS x, length(x). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax, false>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x000000001494c657 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.073501 [ 7109 ] {f7bc1a14-a5c3-4304-b46b-45bf7b78a425} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7fe44927-a17a-4c06-afd5-1d799957db2a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:54.176810 [ 1695 ] {fc202fc9-0346-4d55-931b-6247cd737a9b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7bae7960-c352-45dd-b2e3-97ee628ea575. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:54.268806 [ 10263 ] {8f8b8654-3d7e-45fa-92b2-224b99fab9df} executeQuery: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz5', finalizeAggregation(CAST(unhex('0100000000000000000FFFFFFFF0'), 'AggregateFunction(argMax, UInt64, String)')). (CORRUPTED_DATA) (version 24.3.12.76.altinitystable) (from [::1]:57306) (comment: 02477_single_value_data_string_regression.sql) (in query: SELECT 'fuzz5', finalizeAggregation(CAST(unhex('0100000000000000000FFFFFFFF0'), 'AggregateFunction(argMax, UInt64, String)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000014968244 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:54.269809 [ 10263 ] {8f8b8654-3d7e-45fa-92b2-224b99fab9df} TCPHandler: Code: 246. DB::Exception: Invalid state of the aggregate function argMax: has_value (false) != has_result (true): In scope SELECT 'fuzz5', finalizeAggregation(CAST(unhex('0100000000000000000FFFFFFFF0'), 'AggregateFunction(argMax, UInt64, String)')). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, bool&&, bool&&) @ 0x000000001496b4e8 6. /build/src/AggregateFunctions/AggregateFunctionsArgMinArgMax.cpp:200: DB::(anonymous namespace)::AggregateFunctionArgMinMax::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000014968244 7. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:130: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x0000000019fdd3ea 8. /build/src/DataTypes/Serializations/SerializationAggregateFunction.cpp:179: DB::SerializationAggregateFunction::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fdd61b 9. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 10. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000af65986 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000af65920 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000af658c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000af65868 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:26:55.636826 [ 1695 ] {6e14d7e1-4304-4df0-a4d2-af93b9d17c06} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2fc80c1d-297c-45a3-bdbd-3a1f5e15d07f. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:56.058987 [ 1695 ] {dfbc89b0-9ebe-4846-9eb9-e2c01701006f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7815d9cb-9d41-49c5-b77f-29af88646494. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:57.413068 [ 1695 ] {29e15bbe-1f5e-4e9a-8b34-b6f2ed244ef2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 12aea9d3-16a5-41dc-978a-81d455ed7b94. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:57.627379 [ 1695 ] {85a0b766-36c4-498a-8c09-c83065266362} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 3f63e6d1-f421-44a5-9cd9-154dee75e427. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:59.306269 [ 10261 ] {66ec29eb-db7b-49fc-9baf-0731c6ae2bf3} PushingToViews: Trying to access table test_fp280vi8.test_race_condition_mv1_4 but it doesn't exist 2025.03.05 21:26:59.711622 [ 1695 ] {2cec29a0-0a4a-4cc6-aad4-bcfa0fe2dac9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e4c1aeb9-4633-4dbd-9a4d-938defa2d3e6. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:26:59.834424 [ 7109 ] {03f56681-2467-4d3a-8a3c-3d7679c3c02d} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id c5d3689a-ca00-405d-b07e-3a988a1b1ba3. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:02.441708 [ 1695 ] {5139d5e3-7e06-4b8d-9559-69446a013376} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 16341702-f128-47ff-9552-cfee98420b00. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:03.018291 [ 7109 ] {1daeec7b-1f83-4994-a40a-2faedb3f93cb} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 8bbde37f-11d1-4345-8687-faa708910a2f. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:03.731393 [ 10262 ] {267605ca-c8b2-4feb-967f-1a40a4afb2ca} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:36182) (comment: 02465_limit_trivial_max_rows_to_read.sql) (in query: SELECT number FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:03.732629 [ 10262 ] {267605ca-c8b2-4feb-967f-1a40a4afb2ca} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:03.759556 [ 10262 ] {dfcb1d4d-7d93-417a-8128-7920128e10cf} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 21.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:36182) (comment: 02465_limit_trivial_max_rows_to_read.sql) (in query: SELECT number FROM numbers(30) LIMIT 21;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:03.760579 [ 10262 ] {dfcb1d4d-7d93-417a-8128-7920128e10cf} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 21.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:04.064222 [ 10262 ] {cdfc18ea-bb2b-4d99-b65c-402088c94c91} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 100.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:36182) (comment: 02465_limit_trivial_max_rows_to_read.sql) (in query: SELECT a FROM t_max_rows_to_read LIMIT 11 offset 11;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:04.065101 [ 10262 ] {cdfc18ea-bb2b-4d99-b65c-402088c94c91} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 100.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:04.097275 [ 10262 ] {d316ab65-3c71-4215-ab91-e68c68c36ee7} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 52.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:36182) (comment: 02465_limit_trivial_max_rows_to_read.sql) (in query: SELECT a FROM t_max_rows_to_read WHERE a > 50 LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:04.098061 [ 10262 ] {d316ab65-3c71-4215-ab91-e68c68c36ee7} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 52.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:04.562412 [ 1695 ] {b7c97e74-e7d9-42d1-84f3-dfa29f4f2a0f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 21c7c1d7-cf53-4f11-83cd-5d8dacc97a38. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:05.097186 [ 1695 ] {bf29ad34-6f1b-456b-9e96-081c34e71855} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 62b33210-d323-475c-a882-d83cbf654be4. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:05.545335 [ 7109 ] {35298f66-12c2-4d07-88fc-8c639e24f777} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 640904b9-0927-4b94-bc36-624acc9641d5. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:06.084590 [ 1695 ] {2dd03bbd-2577-40b1-9a0d-1ee791a5b97e} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id fab6a4a0-5a76-4a6d-8190-a6a10256d464. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:06.493561 [ 7109 ] {322de2d1-9a2c-4b9c-ad51-9b20b5393727} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 9d56b597-ccc9-4a0e-a1a7-e426cae00447. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:06.833281 [ 1695 ] {f7dc7771-d46d-44b2-8f83-38d834f3ed29} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 950327e4-b3f5-4a51-9dbc-c357bb01c73f. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:07.610215 [ 1695 ] {e9837a10-b690-413d-8d51-424ae61dd786} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 84c7c204-fc1c-4a89-b36e-ab0da76db7f0. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:07.861689 [ 1695 ] {b8bfd62a-7fcc-4ec6-ac98-5dcf1c8cb6a8} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 5d19be5a-fa5d-43ef-beea-bdd1dbdb7b8a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:08.868056 [ 1695 ] {aa6b5e8b-9da0-4385-a879-86eaec6f774d} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 4c2a0011-fee0-49f1-a57b-e019f4dbeecd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:09.155470 [ 1695 ] {5c392476-67d8-411f-b2c6-c29ab040252e} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 97544934-dc75-42a1-9fb7-a99275ae75a8. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:10.018959 [ 1548 ] {1a9da7f0-839b-4c90-a2c8-11dc661a6341} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id cc5dad12-cb96-488a-9eec-4a741d678a57. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:10.150792 [ 1695 ] {6caf583d-4f10-4e12-b5a0-f37b7f44b4a3} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2648a751-89aa-4544-b11a-fae33038bc9b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:11.125540 [ 6904 ] {723f4eab-7cbd-41d4-8f47-4a4a2e88f09b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id cb67e2a1-ae22-4d7b-8b9e-f35d949ecfb0. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:11.932165 [ 1695 ] {3d1db6b8-ca00-4c76-9af0-ae9fc6bc7051} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id fec798bd-deec-4cb0-a053-f8cd48b057cd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:14.554027 [ 1695 ] {d71ecb5b-495d-47fc-8ce6-ec42e6301f8c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id a22b2ca5-d26b-4ca4-b8fe-2e51a3477507. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:15.356245 [ 6904 ] {cfd2de3b-7dd7-4879-a746-9f89bca3305e} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f8a1485c-df3d-49aa-950c-3c5c91ed84b4. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:15.878344 [ 7109 ] {4128819d-4df8-44a2-987e-495af8924249} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id fc74d738-a9d6-4951-a727-2337a3bc7874. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:16.534119 [ 1695 ] {ede13802-b4f2-44c0-8498-89d946e035e1} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f25a88b7-5974-417b-9a6a-fcad78019aa8. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:16.746184 [ 10262 ] {6c1b96ff-a6ea-4983-8bcb-25d0df461d50} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57464) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:47: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bba8 14. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 15. /build/src/Interpreters/InterpreterKillQueryQuery.cpp:430: DB::InterpreterKillQueryQuery::getSelectResult(String const&, String const&) @ 0x000000001bc3ec9e 16. /build/src/Interpreters/InterpreterKillQueryQuery.cpp:217: DB::InterpreterKillQueryQuery::execute() @ 0x000000001bc3ac46 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:16.837028 [ 7109 ] {7900e69f-1f00-4644-b5e1-6abbe899379a} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 5b66a723-4ad2-4c47-b479-490bb2184d5a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:17.062263 [ 10262 ] {6c1b96ff-a6ea-4983-8bcb-25d0df461d50} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:47: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bba8 14. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001d53bce1 15. /build/src/Interpreters/InterpreterKillQueryQuery.cpp:430: DB::InterpreterKillQueryQuery::getSelectResult(String const&, String const&) @ 0x000000001bc3ec9e 16. /build/src/Interpreters/InterpreterKillQueryQuery.cpp:217: DB::InterpreterKillQueryQuery::execute() @ 0x000000001bc3ac46 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.062282 [ 730 ] {24ebd654-7e11-4552-86ac-0b2cc134d392} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57452) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.310231 [ 1548 ] {a771f43a-a66b-440f-bf7b-7fa1c7c0ba01} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e09f5bf7-5b25-4bb4-bbb0-bcb84312624b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:17.346704 [ 1826 ] {012564bc-2777-4fcf-a505-65d0a077911a} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57480) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.346805 [ 730 ] {24ebd654-7e11-4552-86ac-0b2cc134d392} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.348732 [ 1826 ] {012564bc-2777-4fcf-a505-65d0a077911a} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.348911 [ 1549 ] {87c995ce-cbb0-4a54-b86c-fc59445f061e} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57488) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.351601 [ 1549 ] {87c995ce-cbb0-4a54-b86c-fc59445f061e} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.351775 [ 10880 ] {544a69ee-0bb6-4fb3-867e-5ec04dc263e2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57550) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.353612 [ 10880 ] {544a69ee-0bb6-4fb3-867e-5ec04dc263e2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.360101 [ 10876 ] {69978dad-7dcf-46f4-9528-f10971e9084b} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57504) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:103: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long) @ 0x000000001d53776a 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:138: DB::PullingAsyncPipelineExecutor::pull(DB::Block&, unsigned long) @ 0x000000001d537be9 15. /build/src/Server/TCPHandler.cpp:1023: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479b7f 16. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.379389 [ 10876 ] {69978dad-7dcf-46f4-9528-f10971e9084b} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:103: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long) @ 0x000000001d53776a 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:138: DB::PullingAsyncPipelineExecutor::pull(DB::Block&, unsigned long) @ 0x000000001d537be9 15. /build/src/Server/TCPHandler.cpp:1023: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479b7f 16. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.542878 [ 7109 ] {24590e8d-819d-451c-a28f-3609ee3cde87} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 278fe2d7-341b-4600-8fa6-03eb3abbf549. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:17.749160 [ 6904 ] {a7a582c8-e9e0-4e43-a672-f55eaa4d89f3} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 05089cee-b04d-4f0d-b8ec-c8ca39b4b2c5. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:17.802339 [ 10916 ] {3c11d533-628e-480d-acc4-a2dc522e67f8} executeQuery: Code: 394. DB::Exception: Query '3c11d533-628e-480d-acc4-a2dc522e67f8' is killed in pending state. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:57614) (comment: 02461_cancel_finish_race.sh) (in query: SELECT count() FROM numbers_mt(10000) WHERE rand() = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/executeQuery.cpp:1271: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb295f 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.838603 [ 10916 ] {3c11d533-628e-480d-acc4-a2dc522e67f8} TCPHandler: Code: 394. DB::Exception: Query '3c11d533-628e-480d-acc4-a2dc522e67f8' is killed in pending state. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/executeQuery.cpp:1271: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb295f 7. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 8. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:17.871685 [ 1548 ] {48a6bd50-65c5-482b-bcbe-478e0e38cac4} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 21d283ba-a3bd-42d6-902a-d005db762b1b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:17.872295 [ 1548 ] {48a6bd50-65c5-482b-bcbe-478e0e38cac4} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f48f7519-abfc-429a-937b-9f79e4cf551a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:18.072870 [ 7109 ] {7e967412-e24f-4f53-a4e5-417cf0a74db9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f5191fc8-1ca6-4773-b123-593cffccb094. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:19.228022 [ 1695 ] {7d857412-cc46-461d-bd33-40266feceadf} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 451dd97f-4f8b-4c43-803c-f59b375f697b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:19.516145 [ 1548 ] {46bc39b6-a7d1-4e6d-99eb-49c95a67b9d9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 8b935e06-791e-4f17-8295-39b126de7945. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:20.552082 [ 1548 ] {886a7557-4419-4e01-ae80-da2a03e9d35a} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 481439e7-8770-4a0b-9b5a-a384d4597c46. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:20.621893 [ 7109 ] {605bad58-5a31-4049-834c-5264cfa3515c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7d81d3bf-1bdf-41c7-9009-b1e4f5449459. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:20.773600 [ 1695 ] {1030f864-5d5f-4449-9898-d99567087bc5} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f15a76ab-28e5-48d6-b506-b16737678d0c. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:21.428794 [ 1548 ] {2848adab-29c1-4599-831e-f2653f894b55} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id c9552608-c9fc-4111-a959-caf775d5523c. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:23.698804 [ 6904 ] {9b2a22c1-0d02-4965-8629-e80e3894bba5} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 3d409b1e-6748-4dbc-a86e-2224b851ea3b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:24.549591 [ 6904 ] {f2b9d30f-35e0-454b-b74c-4688ba9d4bc6} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e8ce1e3c-96df-45fb-b556-97ad6c851dbd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:24.674872 [ 7109 ] {23a85cd3-5fce-4f6d-80e1-b982dceeecf0} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 58a56e3d-006f-4f2c-b030-c82cd6d03e5e. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:25.454019 [ 7109 ] {02b3e750-d549-4d22-8c4e-2b7c59309f5c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id d0b3809c-dc6c-4f39-9e7b-d01af85d4812. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:25.670071 [ 1548 ] {e5973927-b548-46cf-bc27-629872e6fc26} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 1b4bc077-db74-4d4d-82ea-4091b0eb9de3. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:26.315686 [ 4577 ] {081e0d49-79f1-44ff-9aa2-d1c150332ddb} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:40538) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:26.333399 [ 4577 ] {081e0d49-79f1-44ff-9aa2-d1c150332ddb} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:26.418622 [ 10218 ] {99d817c4-67a1-476f-9b5e-012f554a68d9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:40532) (comment: 02461_cancel_finish_race.sh) (in query: KILL QUERY WHERE current_database = 'test_gb22g6sn' SYNC FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:26.421303 [ 10218 ] {99d817c4-67a1-476f-9b5e-012f554a68d9} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:27.016103 [ 1548 ] {280ccf5a-772e-4a5d-9d32-b7bd1bcb3c78} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 9f8b4aff-a3b5-415e-b7e5-3072a613ecc9. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:28.516567 [ 1548 ] {d314406a-a651-49e2-ad6d-185f682bd0fd} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2ddddb92-55ea-4e88-8b98-e1ff7415432e. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:30.168532 [ 1695 ] {adedd2f6-0a95-4516-8b8c-6f3573e829e9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id eb9571ca-b83d-4732-8b67-fb18546c12ba. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:30.235443 [ 1548 ] {9f91967b-ceb9-43f2-9fdf-56ef3d1a56d4} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 9c4bd820-5472-431d-8142-dd6aee633bb7. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:30.826319 [ 1548 ] {d767bb01-6e4c-484d-a17b-515504d0ebf9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f17c32b4-34f2-4cc3-91b8-189c3d0d551a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:30.918180 [ 6904 ] {eb09ecc6-6678-417a-bf80-e3e48d241f85} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 001b43c5-e257-4ba4-8d89-ea98b096541a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:30.918867 [ 6904 ] {eb09ecc6-6678-417a-bf80-e3e48d241f85} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f1f05e75-40d3-4b82-81d9-d9f027b196cd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:31.413120 [ 6904 ] {aaf6ba5e-113b-4d28-8e2b-f52cfcb90cd7} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id fff16655-7c44-4254-8887-07f52316b552. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:32.914039 [ 7109 ] {4c539834-afe2-4ed5-a77d-3db643bde97c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 6a3b980a-05c0-486d-8fdb-978b25bdbfc0. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:33.713032 [ 1548 ] {70e1e0e4-46d8-4575-b6e7-1922bb2fa6e6} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id de5c6b2e-b7bb-4bec-8e3a-81cd675c8b42. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:34.277788 [ 6904 ] {5888ba99-99a9-4a08-947e-4f8c32371704} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 99657caf-1efb-4ae1-b243-67faf1d72213. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:35.078114 [ 1695 ] {5b3481f8-bb3d-48b1-be8e-a1432ed4a196} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 6516584d-d80c-4948-a6ab-00af8c5afdcb. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:36.446583 [ 1548 ] {62e50b63-ebbb-4309-ad5c-47d89bf714e2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f73e5852-56e2-426e-8d9f-28c8b14a006e. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:36.742700 [ 1549 ] {ba310b70-061f-44f1-afda-9fc018dc87e0} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:42594) (comment: 02461_cancel_finish_race.sh) (in query: SELECT count() FROM numbers_mt(10000) WHERE rand() = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:103: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long) @ 0x000000001d53776a 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:138: DB::PullingAsyncPipelineExecutor::pull(DB::Block&, unsigned long) @ 0x000000001d537be9 15. /build/src/Server/TCPHandler.cpp:1023: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479b7f 16. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:36.774575 [ 1549 ] {ba310b70-061f-44f1-afda-9fc018dc87e0} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:454: DB::QueryStatus::addPipelineExecutor(DB::PipelineExecutor*) @ 0x000000001b6a4ecc 7. /build/src/Processors/Executors/PipelineExecutor.cpp:64: DB::PipelineExecutor::PipelineExecutor(std::shared_ptr, std::allocator>>>&, std::shared_ptr) @ 0x000000001d512d32 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::PipelineExecutor* std::construct_at[abi:v15000], std::allocator>>>&, std::shared_ptr&, DB::PipelineExecutor*>(DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e87727 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>>&, std::shared_ptr&, void, void>(std::allocator&, DB::PipelineExecutor*, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e874c9 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>>&, std::shared_ptr&>(std::allocator, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e871cf 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, std::allocator>>>&, std::shared_ptr&, void>(std::allocator const&, std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e8703f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>>&, std::shared_ptr&, void>(std::shared_ptr, std::allocator>>>&, std::shared_ptr&) @ 0x0000000019e7aaae 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:103: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long) @ 0x000000001d53776a 14. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:138: DB::PullingAsyncPipelineExecutor::pull(DB::Block&, unsigned long) @ 0x000000001d537be9 15. /build/src/Server/TCPHandler.cpp:1023: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479b7f 16. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:37.120094 [ 1548 ] {56976d48-096b-4e21-9b85-c62871a40d7c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id eaf00e97-51c6-409e-be41-f79929a384be. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:38.606801 [ 1695 ] {2868f516-be19-4038-b19d-37caf55097f4} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e51f619e-3897-45e9-b62d-e350d94ae6dd. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:38.740834 [ 6904 ] {8d004aea-4273-4f56-98a8-da2c27bf5b57} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 87f06177-1e3d-45aa-b012-26972a76a711. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:39.172210 [ 10263 ] {f09a7362-3b98-4ea0-b1f8-04b842ec699d} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.173255 [ 10263 ] {f09a7362-3b98-4ea0-b1f8-04b842ec699d} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.210541 [ 10263 ] {95ad1da8-c373-4b97-a81c-a36f6a456435} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '%a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.211558 [ 10263 ] {95ad1da8-c373-4b97-a81c-a36f6a456435} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.223986 [ 6904 ] {26a73ebc-b62e-4b10-afca-0e72bfefeca5} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 80d6b9a3-00f4-467d-a0ab-5fd2ab3bafe2. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:39.245813 [ 10263 ] {6f0275c4-1c1f-464d-b2db-cfbc2cfc49f4} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.246629 [ 10263 ] {6f0275c4-1c1f-464d-b2db-cfbc2cfc49f4} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.280696 [ 10263 ] {6382864e-278d-414e-bc09-0f034701dd97} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.281447 [ 10263 ] {6382864e-278d-414e-bc09-0f034701dd97} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.312916 [ 10263 ] {56d767df-c6ff-4a21-8c69-fa040439cc15} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '_a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.313723 [ 10263 ] {56d767df-c6ff-4a21-8c69-fa040439cc15} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.345668 [ 10263 ] {a0989ade-55a8-4e53-a43f-a8647a86abdd} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:42644) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%\_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.346437 [ 10263 ] {a0989ade-55a8-4e53-a43f-a8647a86abdd} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.457933 [ 10916 ] {e7d07a73-be1b-4d35-8fea-a7b507b02087} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42542). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42542) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 10972, 500 settings ignore_materialized_views_with_dropped_target_table=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.559292 [ 10916 ] {e7d07a73-be1b-4d35-8fea-a7b507b02087} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42542). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:27:39.559768 [ 10916 ] {e7d07a73-be1b-4d35-8fea-a7b507b02087} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42542). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.560413 [ 10916 ] {e7d07a73-be1b-4d35-8fea-a7b507b02087} TCPHandler: Client has gone away. 2025.03.05 21:27:39.673940 [ 10992 ] {eff34115-9669-4d9e-9ead-97f48084ddbe} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42376). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42376) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 12232, 500 settings ignore_materialized_views_with_dropped_target_table=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.676684 [ 10992 ] {eff34115-9669-4d9e-9ead-97f48084ddbe} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:27:39.677259 [ 10992 ] {eff34115-9669-4d9e-9ead-97f48084ddbe} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42376). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.678032 [ 10992 ] {eff34115-9669-4d9e-9ead-97f48084ddbe} TCPHandler: Client has gone away. 2025.03.05 21:27:39.693694 [ 10900 ] {bbfcb288-727f-4b88-b59f-c04ffa44f11d} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42360). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42360) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 11348, 500 settings ignore_materialized_views_with_dropped_target_table=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.696171 [ 10900 ] {bbfcb288-727f-4b88-b59f-c04ffa44f11d} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42360). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:27:39.696690 [ 10900 ] {bbfcb288-727f-4b88-b59f-c04ffa44f11d} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42360). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.697459 [ 10900 ] {bbfcb288-727f-4b88-b59f-c04ffa44f11d} TCPHandler: Client has gone away. 2025.03.05 21:27:39.825420 [ 10993 ] {00446040-d196-408d-ac98-ef51e811c64e} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42384). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42384) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 9106, 500 settings ignore_materialized_views_with_dropped_target_table=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.829245 [ 10993 ] {00446040-d196-408d-ac98-ef51e811c64e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42384). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:27:39.830112 [ 10993 ] {00446040-d196-408d-ac98-ef51e811c64e} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:42384). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:39.831309 [ 10993 ] {00446040-d196-408d-ac98-ef51e811c64e} TCPHandler: Client has gone away. 2025.03.05 21:27:39.867479 [ 6904 ] {8c97b3da-9e84-4c9f-8a1d-78e5538504d0} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 62af2936-a583-4673-b661-4e3e0da0b779. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:40.618722 [ 1548 ] {5523c475-6cf9-4b4f-b070-a64565a2a74a} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 3fb8b16f-9d08-4817-bd56-bb797de334c2. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:41.104181 [ 1695 ] {64393d14-8547-4ce1-95d5-5aa0ecfa7526} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 4d6423c1-2d53-4d6b-b47a-c0574222f9b3. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:42.297184 [ 7109 ] {3cefa432-8966-4d98-901c-564e3064339f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 070245f0-edd7-4577-ba7a-ba4d217eb098. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:42.452011 [ 6904 ] {f522310e-dfe9-4d22-a4a5-430ce54dbe09} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id a332fc39-d636-490e-b5b4-2790799b6a67. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:43.540307 [ 10262 ] {bb947247-f815-4e7c-94f2-6d4292250d4e} executeQuery: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: In scope SELECT tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:53738) (comment: 02457_tuple_of_intervals.sql) (in query: SELECT tuple(INTERVAL 1 DAY) - '2022-10-11'::Date;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/FunctionBinaryArithmetic.h:898: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000000fc46814 7. /build/src/Functions/FunctionBinaryArithmetic.h:1588: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28687 8. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 9. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:27:43.541299 [ 10262 ] {bb947247-f815-4e7c-94f2-6d4292250d4e} TCPHandler: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: In scope SELECT tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/FunctionBinaryArithmetic.h:898: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000000fc46814 7. /build/src/Functions/FunctionBinaryArithmetic.h:1588: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28687 8. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 9. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:27:43.786037 [ 10262 ] {0806513f-ef96-48aa-88d7-ff7d538dbaba} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: In scope WITH toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr SELECT expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:53738) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND + tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:27:43.786920 [ 10262 ] {0806513f-ef96-48aa-88d7-ff7d538dbaba} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: In scope WITH toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr SELECT expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:27:43.969507 [ 10262 ] {22a2032d-2ab7-4ba1-934d-8c37e5a21d43} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: In scope WITH toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr SELECT expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:53738) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND - tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28fe9 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:27:43.970505 [ 10262 ] {22a2032d-2ab7-4ba1-934d-8c37e5a21d43} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: In scope WITH toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr SELECT expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000fd28fe9 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000fa2a92f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:27:44.437142 [ 7109 ] {376a33d6-b908-46df-8831-30bac33ba429} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 91212397-10f7-437b-bf51-e0a0873b5a6c. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:45.914355 [ 1584 ] {0fa2b710-26c2-4954-a910-e3927e1387fa} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:53766) (comment: 02456_bloom_filter_assert.gen.sql) (in query: SELECT count() FROM bftest__fuzz_21 WHERE hasAll(x, [42, -42]) SETTINGS use_skip_indexes=1, force_data_skipping_indices='ix1';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:45.915308 [ 1584 ] {0fa2b710-26c2-4954-a910-e3927e1387fa} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:46.017406 [ 1548 ] {0402a19a-ce0a-4dbe-a023-e5d3f919198f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f2a89d6f-991f-4197-aadf-17e62132290d. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:46.224328 [ 1584 ] {a00fd402-f99c-4ce5-b6c6-83d75d6d825f} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:53766) (comment: 02456_bloom_filter_assert.gen.sql) (in query: SELECT count() FROM bftest__fuzz_21 WHERE hasAll(x, [42, -42]) SETTINGS use_skip_indexes=1, force_data_skipping_indices='ix1';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:46.225390 [ 1584 ] {a00fd402-f99c-4ce5-b6c6-83d75d6d825f} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:46.697437 [ 1584 ] {488c359b-1ca3-43eb-b530-86b248832cd4} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:53766) (comment: 02456_bloom_filter_assert.gen.sql) (in query: SELECT count() FROM bftest__fuzz_21 WHERE hasAll(x, [42, -42]) SETTINGS use_skip_indexes=1, force_data_skipping_indices='ix1';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:46.698531 [ 1584 ] {488c359b-1ca3-43eb-b530-86b248832cd4} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:626: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, std::optional const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x000000001cd0e98b 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1671: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d9c4 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:47.429152 [ 10217 ] {c1059b90-e2eb-4b12-8f72-b40e6df3a8ca} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 24.3.12.76.altinitystable) (from [::1]:53824) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::$_0) @ 0x000000001e267991 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:290: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001e26794e 10. /build/src/Storages/StorageReplicatedMergeTree.cpp:6647: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001c4ab689 11. /build/src/Storages/StorageReplicatedMergeTree.cpp:6684: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001c5caad8 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:830: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()::operator()() const @ 0x000000001d0baf94 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda2'()::operator()() const @ 0x000000001d0baa4b 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1085: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()::operator()() const @ 0x000000001d0ba98f 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()&&) @ 0x000000001d0ba761 16. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&) @ 0x000000001d0a4fe1 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1077: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4be0 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 19. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 20. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:27:47.432022 [ 10217 ] {c1059b90-e2eb-4b12-8f72-b40e6df3a8ca} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::$_0) @ 0x000000001e267991 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:290: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001e26794e 10. /build/src/Storages/StorageReplicatedMergeTree.cpp:6647: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001c4ab689 11. /build/src/Storages/StorageReplicatedMergeTree.cpp:6684: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001c5caad8 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:830: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()::operator()() const @ 0x000000001d0baf94 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda2'()::operator()() const @ 0x000000001d0baa4b 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1085: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()::operator()() const @ 0x000000001d0ba98f 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()&&) @ 0x000000001d0ba761 16. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&) @ 0x000000001d0a4fe1 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1077: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4be0 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 19. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 20. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:27:48.338753 [ 10880 ] {00fe104d-1059-4cb5-90f9-0fc5c4e22df5} executeQuery: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53832) (comment: 02455_improve_feedback_when_replacing_partition_with_different_primary_key.sql) (in query: ALTER TABLE test_b REPLACE PARTITION '0' FROM test_a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7089: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001cc28a0d 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7119: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001cc2937d 8. /build/src/Storages/StorageMergeTree.cpp:2084: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f3a6 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:48.339548 [ 10880 ] {00fe104d-1059-4cb5-90f9-0fc5c4e22df5} TCPHandler: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7089: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001cc28a0d 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7119: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001cc2937d 8. /build/src/Storages/StorageMergeTree.cpp:2084: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f3a6 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:27:48.349214 [ 6904 ] {b64c8dea-4839-415f-90fb-5f8163101aac} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id ca9210a8-0dd3-45c8-a4b0-94e60cbef4de. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:48.349628 [ 6904 ] {b64c8dea-4839-415f-90fb-5f8163101aac} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id ad1babc1-8538-4516-b201-44e4aaf11509. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:48.540244 [ 10217 ] {387734b0-3780-42a7-a0db-7988a46ab5be} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 24.3.12.76.altinitystable) (from [::1]:53824) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=10 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::$_0) @ 0x000000001e267991 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:290: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001e26794e 10. /build/src/Storages/StorageReplicatedMergeTree.cpp:6647: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001c4ab689 11. /build/src/Storages/StorageReplicatedMergeTree.cpp:6684: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001c5caad8 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:830: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()::operator()() const @ 0x000000001d0baf94 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda2'()::operator()() const @ 0x000000001d0baa4b 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1085: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()::operator()() const @ 0x000000001d0ba98f 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()&&) @ 0x000000001d0ba761 16. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&) @ 0x000000001d0a4fe1 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1077: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4be0 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 19. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 20. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:27:48.542974 [ 10217 ] {387734b0-3780-42a7-a0db-7988a46ab5be} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::$_0) @ 0x000000001e267991 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:290: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001e26794e 10. /build/src/Storages/StorageReplicatedMergeTree.cpp:6647: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001c4ab689 11. /build/src/Storages/StorageReplicatedMergeTree.cpp:6684: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001c5caad8 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:830: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()::operator()() const @ 0x000000001d0baf94 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda2'()::operator()() const @ 0x000000001d0baa4b 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1085: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()::operator()() const @ 0x000000001d0ba98f 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&)::'lambda'()&&) @ 0x000000001d0ba761 16. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda3'()&&) @ 0x000000001d0a4fe1 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1077: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4be0 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 19. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 20. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:27:48.893502 [ 10217 ] {018bed24-de75-46b3-b4b6-5b96ff64ced5} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 24.3.12.76.altinitystable) (from [::1]:53824) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&, Coordination::ListRequestType)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&, Coordination::ListRequestType)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::$_0) @ 0x000000001e2667c0 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:191: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001e26675e 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:185: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001d0b997e 11. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001d0b9521 12. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001d0a4861 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:168: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001d0a3ee8 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:275: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a1eec 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 30. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 31. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 2025.03.05 21:27:48.894494 [ 10217 ] {018bed24-de75-46b3-b4b6-5b96ff64ced5} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&, Coordination::ListRequestType)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&, Coordination::ListRequestType)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::$_0) @ 0x000000001e2667c0 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:191: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001e26675e 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:185: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001d0b997e 11. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001d0b9521 12. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001d0a4861 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:168: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001d0a3ee8 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:275: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a1eec 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 30. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 31. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 2025.03.05 21:27:49.093084 [ 10217 ] {4bc50d05-6827-48c7-ad53-567f0defcf87} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 24.3.12.76.altinitystable) (from [::1]:53824) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&, Coordination::ListRequestType)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&, Coordination::ListRequestType)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::$_0) @ 0x000000001e2667c0 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:191: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001e26675e 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:185: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001d0b997e 11. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001d0b9521 12. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001d0a4861 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:168: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001d0a3ee8 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:275: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a1eec 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 30. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 31. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 2025.03.05 21:27:49.094061 [ 10217 ] {4bc50d05-6827-48c7-ad53-567f0defcf87} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/ZooKeeper/IKeeper.h:475: Coordination::Exception::Exception(char const* const&, Coordination::Error) @ 0x000000001e273227 6. /build/src/Common/ZooKeeper/IKeeper.h:509: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const* const&) @ 0x000000001e26f526 7. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:107: DB::ZooKeeperWithFaultInjection::injectFailureBeforeOperationThrow(char const*, String const&) @ 0x000000001e265d99 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:134: std::invoke_result const&, Coordination::ListRequestType)::$_0>::type DB::ZooKeeperWithFaultInjection::executeWithFaultSync const&, Coordination::ListRequestType)::$_0>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::$_0) @ 0x000000001e2667c0 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.cpp:191: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001e26675e 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:185: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001d0b997e 11. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:74: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001d0b9521 12. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001d0a4861 13. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:168: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001d0a3ee8 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:275: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a1eec 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 30. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 31. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 2025.03.05 21:27:49.298395 [ 7109 ] {e163b8e9-c8a7-40cc-8539-e3d618557151} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id d5640b64-d7db-4aad-a0e8-3ecec2d243f2. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:50.045069 [ 6904 ] {2b4b3afb-6771-4b3c-a339-f2d2e7072560} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 0c7eb5d4-19b4-4019-9e0b-8c70c2936667. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:50.575559 [ 6904 ] {64efdd80-035c-4967-839a-9d9a2ede37a9} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 7db59e50-67b7-4b5d-919b-7d91575396db. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:50.794154 [ 1548 ] {5f04ac1a-b43d-4438-bd4a-cadf656c625d} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id d84f6aea-0c1b-448e-99af-f13f61404f40. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:50.942885 [ 7109 ] {0c208d3e-b067-40c9-9183-0062b02257f7} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id cc3b69ad-91aa-476e-9c53-a1ff83444bf6. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:51.080001 [ 1695 ] {c3e4498a-31f2-4013-9af5-f7c1242420af} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e84d6a6d-f5b4-4342-a2bf-1ca23afe90df. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:51.396806 [ 1548 ] {94aca627-216a-4b53-9dbe-c81bc2eef497} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 1495e7b4-3255-454c-a946-194cd452f178. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:51.992650 [ 7109 ] {c7465286-f26f-48ea-95a0-320149d4343f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 6307d348-a258-4c6d-857c-54b4201a32e9. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:52.352310 [ 6904 ] {10c8b60e-bdbc-4674-aea5-37b23bcb80f2} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id da244f68-7bd4-49ef-b7d1-f3ea519d5a7a. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:53.391338 [ 6904 ] {f16ab58a-d7d3-4141-abff-3c97d56b01b4} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e11e0717-84eb-4602-853c-935f95e9f063. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:54.560846 [ 7109 ] {f23ef209-81c7-40c9-b82c-500a403a6f07} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 3c3f8c1c-dc09-43b2-9eaf-2bdfa4c81334. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:55.356419 [ 6904 ] {299937eb-17ff-4b5a-8ff0-3c8b98edbf44} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 75867f8e-8568-463c-b0f6-e6095a1070f5. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:55.868420 [ 6904 ] {35523fc6-94b2-4a3e-a28b-23f0041f2578} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e2e4dba0-a789-4f54-879e-920ae1684b1b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:56.261877 [ 7109 ] {9dec82da-4c92-4e65-9c00-b3160ad2517b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 9d0968ea-3e50-4681-9151-3b941b8037a7. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:56.577204 [ 1134 ] {} test_rsram9km.rmt2 (bbc4dbe7-b9f8-40d5-b81a-2ca636a9358a): Metadata version (2) on replica is not up to date with metadata (1) on source replica 1 2025.03.05 21:27:56.609732 [ 1548 ] {f8581eb3-9360-4029-94b2-13c946d4964f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 68eb3e83-c9a6-4ccb-84c7-ed1f21259cf3. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:56.638856 [ 1377 ] {} test_rsram9km.rmt2 (bbc4dbe7-b9f8-40d5-b81a-2ca636a9358a): Attempt to update metadata of version 2 to older version 1 when processing log entry queue-0000000000: format version: 4 create_time: 2025-03-05 21:27:56 source replica: 1 block_id: alter alter_version 1 have_mutation 0 columns_str_size: 69 columns format version: 1 3 columns: `n` Int32 `m` Int32 `k` UInt128 metadata_str_size: 224 metadata format version: 1 date column: sampling expression: index granularity: 10181 mode: 0 sign column: primary key: data format version: 1 partition key: granularity bytes: 530356 merge parameters format version: 2 2025.03.05 21:27:57.056015 [ 6904 ] {a4881fd3-9e66-4bb7-81d6-a84b9b35c5b8} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id ad1e95fb-9600-485e-95de-f43038a350e6. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:57.540471 [ 6904 ] {d63daf4a-107e-4b4c-9bec-cb3a2622e08e} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 41ab7c92-8682-4f7c-9687-ba061bb9ac00. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:59.131704 [ 1695 ] {c70c43b7-6aa1-4da0-b5af-bb309202b68b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id df37adbe-574d-4537-90cd-063b161e5468. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:59.132274 [ 1695 ] {c70c43b7-6aa1-4da0-b5af-bb309202b68b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 47fe9878-f57f-4ae0-8115-04be6300b8f6. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:27:59.396511 [ 7109 ] {883e939c-9d71-4cb0-ae04-2aeb396d6149} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id dd1c7abf-1136-4a1c-9f14-63d27a8a06f1. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:00.444483 [ 6904 ] {dad987f1-1b33-4746-a50e-42f7eb7986c6} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id e9f027aa-0993-4ffc-97a3-8b5c02774a5d. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:00.445537 [ 6904 ] {dad987f1-1b33-4746-a50e-42f7eb7986c6} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 68b54c99-68c5-421c-87e2-e254b91c641b. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:00.629863 [ 1548 ] {3fba0b3c-d91b-4c80-adb2-01e2a3295f9b} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 44e7dab6-d00b-48f7-a182-83631a2f0755. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:01.761104 [ 1695 ] {f624aa34-e95d-4aec-b3cd-6f711edf198a} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 4497f746-5033-4088-bffc-abf7bd4de8e5. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:01.981364 [ 6904 ] {bdeaa93f-4049-4ffd-90f9-841402bfe301} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 77c2fa8b-a1fb-4e42-9d5d-00d11a2d3684. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:02.371081 [ 1695 ] {235c16c2-e814-4431-9d7b-4f35808dca2c} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 9974df01-13ff-49e4-a2ea-7467278e2cfc. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:03.140219 [ 6904 ] {5ed191dc-d0cf-461a-b886-4e38e1d90a11} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 1b905448-fdb2-4dd4-98cc-f1063d87be22. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:03.408553 [ 1548 ] {8269b68a-d42f-4c2b-aec9-1316a05dd297} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2c7df4ba-8552-4281-9e87-93e8f64c5801. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:04.410994 [ 1584 ] {f33f094e-a9ad-42bf-b8a7-c17ea93e1a47} test_bn6clcty.table_one (219b4fb0-31f9-470f-9e26-b0022146661a): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 21:28:04.607819 [ 1695 ] {d9af7dcf-0fd2-4632-b0d2-b9e9edb3c2ab} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 1ae34559-9158-46e3-b1b8-c7a93c3e5d64. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:04.950458 [ 1584 ] {ab70b9d0-64ec-4053-ae13-b62062d2055a} test_bn6clcty.table_one (9199b6f3-bfcf-4a09-b9e8-73f1a3f5e037): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 21:28:05.163152 [ 1584 ] {e45720c7-5e62-460a-b3a6-9339016d5ceb} test_bn6clcty.table_two (04f7b9ef-5f24-4f4e-8d5b-af1214010fe5): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 21:28:05.541299 [ 6904 ] {95ff969b-c120-451e-8b53-9d9a5ce2a1ba} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 2169114f-cf67-49d5-8bea-669bb40ad58e. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:05.987266 [ 1695 ] {afdfa2f4-d61f-441d-abb6-50e0094a3180} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id b6b8d723-447a-4264-806e-4f9d66d0fccf. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:06.220757 [ 7109 ] {8505cf0f-cfc6-430d-8752-e8bef3083c16} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id f7335616-a7c1-4902-be80-c3986210e688. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:06.453081 [ 1584 ] {4d032741-d40a-4189-b872-4740e9798bf7} test_bn6clcty.table_two (bac9e8f1-cb84-4d43-adf8-2bf8b5ddf23a): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 21:28:06.598940 [ 1548 ] {680a9a77-d0a0-4395-a319-ab856bdaf8e1} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_cdnyw6ee.t_async_insert_dedup FORMAT Values' with query id 4818dac8-c992-40d5-ae3d-9e0a869542ed. DB::Exception: Cannot parse input: expected '(' before: 'format JSONEachRow': at row 0 2025.03.05 21:28:06.867748 [ 1584 ] {aed3c67e-3c3c-43a1-b1e6-343de982d523} executeQuery: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:46408) (comment: 02422_insert_different_granularity.sql) (in query: ALTER TABLE table_two REPLACE PARTITION 0 FROM table_one;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x00000000135badac 6. /build/src/Storages/StorageMergeTree.cpp:2096: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f600 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:06.868627 [ 1584 ] {aed3c67e-3c3c-43a1-b1e6-343de982d523} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x00000000135badac 6. /build/src/Storages/StorageMergeTree.cpp:2096: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f600 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:09.586520 [ 1361 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_4_4_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:09.879642 [ 10261 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:default:/test/02432/test_rsram9km/replicas/1. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001d402cb2 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001d3ffb98 8. /build/src/Server/InterserverIOHTTPHandler.cpp:130: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d4003a7 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:09.880677 [ 1354 ] {} ReadWriteBufferFromHTTP: Failed to make request to 'http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F02432%2Ftest_rsram9km%2Freplicas%2F1&part=all_18_18_0&client_protocol_version=8&compress=false&remote_fs_metadata=s3' redirect to 'http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F02432%2Ftest_rsram9km%2Freplicas%2F1&part=all_18_18_0&client_protocol_version=8&compress=false&remote_fs_metadata=s3'. Error: 'DB::HTTPException: Received error from remote server http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F02432%2Ftest_rsram9km%2Freplicas%2F1&part=all_18_18_0&client_protocol_version=8&compress=false&remote_fs_metadata=s3. HTTP status code: 500 Internal Server Error, body: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:default:/test/02432/test_rsram9km/replicas/1. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001d402cb2 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001d3ffb98 8. /build/src/Server/InterserverIOHTTPHandler.cpp:130: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d4003a7 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable)'. Failed at try 1/1. 2025.03.05 21:28:10.029721 [ 1354 ] {} test_rsram9km.rmt2 (bbc4dbe7-b9f8-40d5-b81a-2ca636a9358a): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 86. DB::HTTPException: Received error from remote server http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Ftest%2F02432%2Ftest_rsram9km%2Freplicas%2F1&part=all_18_18_0&client_protocol_version=8&compress=false&remote_fs_metadata=s3. HTTP status code: 500 Internal Server Error, body: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:default:/test/02432/test_rsram9km/replicas/1. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001d402cb2 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001d3ffb98 8. /build/src/Server/InterserverIOHTTPHandler.cpp:130: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d4003a7 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable). (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013704764 6. /build/src/IO/HTTPCommon.cpp:95: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x00000000137043ab 7. /build/src/IO/HTTPCommon.h:32: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013704531 8. /build/src/IO/HTTPCommon.cpp:84: DB::assertResponseIsOk(String const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013704241 9. /build/src/IO/ReadWriteBufferFromHTTP.cpp:254: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x00000000160adb18 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:264: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x00000000160adc12 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:385: DB::ReadWriteBufferFromHTTP::initialize() @ 0x00000000160ae431 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:448: DB::ReadWriteBufferFromHTTP::nextImpl()::$_0::operator()() const @ 0x00000000160b147b 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160b1435 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000160b1415 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160b13f5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160b13bd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 19. /build/src/IO/ReadWriteBufferFromHTTP.cpp:302: DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x00000000160aa687 20. /build/src/IO/ReadWriteBufferFromHTTP.cpp:441: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000160aface 21. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 22. /build/src/IO/ReadWriteBufferFromHTTP.cpp:233: DB::ReadWriteBufferFromHTTP::ReadWriteBufferFromHTTP(DB::HTTPConnectionGroupType const&, Poco::URI const&, String const&, DB::ProxyConfiguration, DB::ReadSettings, DB::ConnectionTimeouts, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*, unsigned long, unsigned long, std::function>&)>, bool, bool, std::vector>, bool, std::optional) @ 0x00000000160ad63e 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&>(DB::HTTPConnectionGroupType&, Poco::URI&, String&, DB::ProxyConfiguration&, DB::ReadSettings&, DB::ConnectionTimeouts&, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*&, unsigned long&, unsigned long&, std::function>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&) @ 0x00000000160a2792 24. /build/src/IO/ReadWriteBufferFromHTTP.h:242: DB::BuilderRWBufferFromHTTP::create(Poco::Net::HTTPBasicCredentials const&) @ 0x00000000160a1fba 25. /build/src/Storages/MergeTree/DataPartsExchange.cpp:507: DB::DataPartsExchange::Fetcher::fetchSelectedPart(std::shared_ptr const&, std::shared_ptr, String const&, String const&, String const&, String const&, int, DB::ConnectionTimeouts const&, String const&, String const&, String const&, std::shared_ptr, bool, String const&, std::optional*, bool, std::shared_ptr) @ 0x000000001ca692e2 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:4894: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3::operator()() const @ 0x000000001c5c5849 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c54b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c5475 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c5435 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c5400 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c619276 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:11.477051 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:13.515305 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_7_7_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:15.040753 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:16.508140 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:17.652718 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_11_11_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:17.653169 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_12_12_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:17.657505 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_7_7_0/ is broken and need manual correction 2025.03.05 21:28:17.935426 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_7_7_0/count.txt"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:74: DB::MergeTreeDataPartChecksum::checkSize(DB::IDataPartStorage const&, String const&) const @ 0x000000001ccb5000 12. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:104: DB::MergeTreeDataPartChecksums::checkSizes(DB::IDataPartStorage const&) const @ 0x000000001ccb5665 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2100: DB::IMergeTreeDataPart::checkConsistencyBase() const @ 0x000000001cac9b64 14. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2143: DB::IMergeTreeDataPart::checkConsistency(bool) const @ 0x000000001cabad70 15. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:716: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab5241 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 17. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 18. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 25. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 27. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:28:18.895332 [ 10989 ] {a173e0bb-95c8-4311-9ba8-76ab40ce648e} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000006 */ ALTER TABLE rdb_test_096emk5p.mt DROP PARTITION ID 'all', ADD COLUMN `m` int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:18.902886 [ 10989 ] {a173e0bb-95c8-4311-9ba8-76ab40ce648e} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:55062) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt drop partition id 'all', add column m int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:18.907188 [ 10989 ] {a173e0bb-95c8-4311-9ba8-76ab40ce648e} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:20.070922 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:21.541047 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:22.130373 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_16_16_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:22.161751 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_18_18_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:22.200739 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_19_19_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:22.208150 [ 1549 ] {0a9c2326-2879-4089-b7ec-eab79b90bdb5} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Will not try to attach part all_16_16_0 because its directory is temporary, probably it's being detached right now 2025.03.05 21:28:22.255916 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_20_20_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:22.262215 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_20_20_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:22.935303 [ 10901 ] {baf63a91-de65-4a27-a9f9-46822c2b2c35} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000007 */ ALTER TABLE rdb_test_096emk5p.rmt DROP PARTITION ID 'all', ADD COLUMN `m` int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:22.946717 [ 10901 ] {baf63a91-de65-4a27-a9f9-46822c2b2c35} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:55156) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.rmt drop partition id 'all', add column m int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:22.953376 [ 10901 ] {baf63a91-de65-4a27-a9f9-46822c2b2c35} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:25.102925 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:26.050603 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_23_23_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.084022 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_24_24_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.084523 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_25_25_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.089699 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part's all_25_25_0 column a has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:28:26.090156 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part's all_25_25_0 column b has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:28:26.092980 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_25_25_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.102971 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_26_26_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.584876 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:26.893044 [ 10901 ] {9f454a07-b7d0-4832-ad7f-006808e34067} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000008 */ ALTER TABLE rdb_test_096emk5p.mt DROP PARTITION ID 'all', UPDATE n = 2 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:26.911891 [ 10901 ] {9f454a07-b7d0-4832-ad7f-006808e34067} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:55246) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt drop partition id 'all', update n = 2 where 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:26.913798 [ 10901 ] {9f454a07-b7d0-4832-ad7f-006808e34067} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:26.921231 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_28_28_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.947662 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_30_30_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.948236 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_29_29_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.952992 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_30_30_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:26.985661 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_31_31_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:27.003954 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_32_32_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:29.796437 [ 10880 ] {23645bc0-eedf-4f92-a154-72e13a8916c5} executeQuery: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:53430) (comment: 02419_contingency_array_nullable.sql) (in query: SELECT contingency(1, [1, NULL]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/ColumnArray.cpp:162: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000001bdafa7a 7. /build/src/AggregateFunctions/UniqVariadicHash.h:49: DB::UniqVariadicHash::apply(unsigned long, DB::IColumn const**, unsigned long) @ 0x0000000014d8d8a0 8. /build/src/AggregateFunctions/CrossTab.h:147: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015b0d588 9. /build/src/AggregateFunctions/IAggregateFunction.h:536: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015b0dd11 10. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatchSinglePlace(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*, DB::Arena*) @ 0x000000001a72e3d6 11. /build/src/Interpreters/Aggregator.cpp:1344: DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*, bool) const @ 0x000000001a72e825 12. /build/src/Interpreters/Aggregator.cpp:1611: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7307c8 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 14. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:28:29.800016 [ 10880 ] {23645bc0-eedf-4f92-a154-72e13a8916c5} TCPHandler: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/ColumnArray.cpp:162: DB::ColumnArray::getDataAt(unsigned long) const @ 0x000000001bdafa7a 7. /build/src/AggregateFunctions/UniqVariadicHash.h:49: DB::UniqVariadicHash::apply(unsigned long, DB::IColumn const**, unsigned long) @ 0x0000000014d8d8a0 8. /build/src/AggregateFunctions/CrossTab.h:147: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015b0d588 9. /build/src/AggregateFunctions/IAggregateFunction.h:536: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015b0dd11 10. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatchSinglePlace(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*, DB::Arena*) @ 0x000000001a72e3d6 11. /build/src/Interpreters/Aggregator.cpp:1344: DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*, bool) const @ 0x000000001a72e825 12. /build/src/Interpreters/Aggregator.cpp:1611: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7307c8 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 14. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 17. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 18. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 19. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 26. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 27. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 31. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 2025.03.05 21:28:30.138037 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:30.660490 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_35_35_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.682318 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_36_36_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.727386 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_38_38_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.727704 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_37_37_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.732366 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_38_38_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.763381 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_39_39_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:30.846964 [ 10901 ] {2d5720a2-ab81-438a-abdb-058f1cb12196} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000009 */ ALTER TABLE rdb_test_096emk5p.rmt DROP PARTITION ID 'all', UPDATE n = 2 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:30.879920 [ 10901 ] {2d5720a2-ab81-438a-abdb-058f1cb12196} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:53488) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.rmt drop partition id 'all', update n = 2 where 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:30.882216 [ 10901 ] {2d5720a2-ab81-438a-abdb-058f1cb12196} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:31.398622 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx11_10310} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (32, 33, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_0 from test_xuqsbg1v.tt (4ee67679-f299-4adc-a787-afeadffe3859), but it's locked by another transaction (TID: (32, 34, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 3844756745152003744) which is currently removing this part. (SERIALIZATION_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:34006) (in query: truncate table tt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1817: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001d104040 11. /build/src/Interpreters/InterpreterDropQuery.cpp:252: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03c516 12. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 13. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:31.399927 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx11_10310} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (32, 33, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_0 from test_xuqsbg1v.tt (4ee67679-f299-4adc-a787-afeadffe3859), but it's locked by another transaction (TID: (32, 34, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 3844756745152003744) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1817: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001d104040 11. /build/src/Interpreters/InterpreterDropQuery.cpp:252: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03c516 12. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 13. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:31.542047 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_41_41_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.570840 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_42_42_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.595134 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_43_43_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.636187 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_44_44_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.636306 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_45_45_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.636876 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:31.642121 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_45_45_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:31.664041 [ 1363 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_46_46_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.177807 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:35.241172 [ 1368 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_49_49_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.268637 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_51_51_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.268808 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_50_50_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.275878 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_51_51_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.298091 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_52_52_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.298700 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_53_53_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.302702 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_46_46_0/ is broken and need manual correction 2025.03.05 21:28:35.303875 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_46_46_0/b.bin"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:74: DB::MergeTreeDataPartChecksum::checkSize(DB::IDataPartStorage const&, String const&) const @ 0x000000001ccb5000 12. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:104: DB::MergeTreeDataPartChecksums::checkSizes(DB::IDataPartStorage const&) const @ 0x000000001ccb5665 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2100: DB::IMergeTreeDataPart::checkConsistencyBase() const @ 0x000000001cac9b64 14. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2143: DB::IMergeTreeDataPart::checkConsistency(bool) const @ 0x000000001cabad70 15. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:716: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab5241 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 17. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 18. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 25. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 27. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:28:35.311124 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_53_53_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.322344 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_54_54_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.589831 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_56_56_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.622867 [ 1368 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_57_57_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.623020 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_58_58_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.629507 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_58_58_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.639657 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_59_59_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.665211 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_61_61_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.666343 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_60_60_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.671252 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_61_61_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:35.683248 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_62_62_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:36.696046 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:38.635229 [ 10901 ] {cc99efb3-8218-42af-8319-f0680dbf4eb0} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000010 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.340000475 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:53560) (comment: 02445_replicated_db_alter_partition.sh) (in query: delete from rdb_test_096emk5p.mt where n=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:38.637395 [ 10901 ] {cc99efb3-8218-42af-8319-f0680dbf4eb0} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000010 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.340000475 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:39.019182 [ 1366 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_65_65_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:39.032642 [ 1361 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_56_60_1/ is broken and need manual correction 2025.03.05 21:28:39.034615 [ 1361 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_66_66_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:39.034753 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_67_67_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:39.039646 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part's all_67_67_0 column a has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:28:39.040107 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part's all_67_67_0 column b has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:28:39.042905 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_67_67_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.015229 [ 1359 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_69_69_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.054156 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_71_71_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.055858 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_72_72_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.056740 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_70_70_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.061249 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_72_72_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.070781 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_71_71_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.066223 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_72_72_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:40.218322 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:41.754701 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:42.927197 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_75_75_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:42.949777 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_77_77_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:42.951895 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_76_76_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:42.955274 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_77_77_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:42.967277 [ 1357 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_78_78_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.115338 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_80_80_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.137372 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_81_81_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.179506 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_82_82_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.179773 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_83_83_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.186257 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_83_83_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:44.207146 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_84_84_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:45.250638 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:45.445695 [ 4577 ] {72a40228-8e22-4465-adfb-77639893ed42} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000011 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336000458 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:41452) (comment: 02445_replicated_db_alter_partition.sh) (in query: delete from rdb_test_096emk5p.rmt where n=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:45.449739 [ 4577 ] {72a40228-8e22-4465-adfb-77639893ed42} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000011 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336000458 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:46.793908 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:47.667806 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_87_87_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:48.488532 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_89_89_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:48.727356 [ 1222 ] {} test_4but44kn.rmt (ede8e3dc-f052-4be9-bdb1-cb056c81f2db): Found 1 empty unexpected parts (probably some dropped parts were not cleaned up before restart): [all_0_1_2] 2025.03.05 21:28:50.292456 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:50.684312 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx22_19864} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8964000022192263500'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:39680) (in query: alter table tt delete where n%2=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:50.686017 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx22_19864} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8964000022192263500'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:51.840850 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:52.482266 [ 1584 ] {a6cc6a85-e2e1-495c-8ec0-1c2adf9f04a7} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000012 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.33600044 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:46780) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt update n=2 where n=3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:52.484613 [ 1584 ] {a6cc6a85-e2e1-495c-8ec0-1c2adf9f04a7} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000012 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.33600044 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:52.504600 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_93_93_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:52.521003 [ 1368 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_94_94_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:55.322811 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:56.487739 [ 1363 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_98_98_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:56.513029 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_99_99_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:56.526811 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_100_100_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:28:56.882608 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:28:58.828257 [ 1584 ] {6c06a527-5090-4023-979d-cb0a6e0b01dd} executeQuery: Code: 36. DB::Exception: Cannot add new database replica: provided path /clickhouse/tables/test_test_egd3ye2d/s1/local_t_l5ydey already contains some data and it does not look like Replicated database path. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:46974) (comment: 02400_create_table_on_cluster_normalization.sql) (in query: create database local_t_l5ydey engine=Replicated('/clickhouse/tables/test_' || currentDatabase() || '/{shard}/local_t_l5ydey', '1', '1');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Databases/DatabaseReplicated.cpp:503: DB::DatabaseReplicated::createReplicaNodesInZooKeeper(std::shared_ptr const&) @ 0x000000001a0ede5a 7. /build/src/Databases/DatabaseReplicated.cpp:399: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001a0ec5a5 8. /build/src/Databases/DatabaseReplicated.cpp:543: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001a0ef071 9. /build/src/Databases/TablesLoader.cpp:57: DB::TablesLoader::loadTablesAsync(std::unordered_set, std::hash>, std::equal_to>, std::allocator>>) @ 0x000000001b02edba 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:338: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00a0ef 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:58.829071 [ 1584 ] {6c06a527-5090-4023-979d-cb0a6e0b01dd} TCPHandler: Code: 36. DB::Exception: Cannot add new database replica: provided path /clickhouse/tables/test_test_egd3ye2d/s1/local_t_l5ydey already contains some data and it does not look like Replicated database path. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Databases/DatabaseReplicated.cpp:503: DB::DatabaseReplicated::createReplicaNodesInZooKeeper(std::shared_ptr const&) @ 0x000000001a0ede5a 7. /build/src/Databases/DatabaseReplicated.cpp:399: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001a0ec5a5 8. /build/src/Databases/DatabaseReplicated.cpp:543: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001a0ef071 9. /build/src/Databases/TablesLoader.cpp:57: DB::TablesLoader::loadTablesAsync(std::unordered_set, std::hash>, std::equal_to>, std::allocator>>) @ 0x000000001b02edba 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:338: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00a0ef 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:28:59.629949 [ 10217 ] {d3bbd795-f8c7-411c-89e3-3da776de0fa8} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000013 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336000423 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:46914) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.rmt update n=2 where n=3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:28:59.632718 [ 10217 ] {d3bbd795-f8c7-411c-89e3-3da776de0fa8} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000013 is not finished on 2 of 3 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336000423 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:00.371898 [ 7038 ] {} DDLWorker(rdb_test_096emk5p_3): Error on initialization of rdb_test_096emk5p_3: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:00.725529 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_105_105_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:00.744396 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_106_106_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:00.767388 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_107_107_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:00.795375 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_108_108_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:01.921438 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:02.237741 [ 1584 ] {} virtual DB::WriteBufferFromHTTPServerResponse::~WriteBufferFromHTTPServerResponse(): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.1]:8123 -> [::ffff:127.0.0.1]:35512). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:165: DB::WriteBufferFromHTTPServerResponse::~WriteBufferFromHTTPServerResponse() @ 0x000000001d49d599 13. /build/src/Server/WebUIRequestHandler.cpp:44: DB::handle(DB::IServer const&, DB::HTTPServerRequest&, DB::HTTPServerResponse&, std::basic_string_view>) @ 0x000000001d48fed2 14. /build/src/Server/WebUIRequestHandler.cpp:91: DB::JavaScriptWebUIRequestHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d4903e7 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:02.239013 [ 1584 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:05.139882 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_112_112_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.168981 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_114_114_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.174128 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_114_114_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.179348 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_113_113_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.229693 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_115_115_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.229704 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_116_116_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.235102 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_108_108_0/ is broken and need manual correction 2025.03.05 21:29:05.237228 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_116_116_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:05.267568 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_117_117_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:06.969306 [ 10217 ] {1e085588-48c6-4f20-adbc-2272629cca1a} executeQuery: Code: 44. DB::Exception: Illegal type of argument #1 'separator' of function splitByChar, expected const String, got String: In scope x -> splitByChar(toString(id), arrayMap(x -> toString(1), [NULL])). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:44308) (comment: 02389_analyzer_nested_lambda.sql) (in query: SELECT arrayMap(x -> splitByChar(toString(id), arrayMap(x -> toString(1), [NULL])), [NULL]) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:06.969380 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:06.970506 [ 10217 ] {1e085588-48c6-4f20-adbc-2272629cca1a} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #1 'separator' of function splitByChar, expected const String, got String: In scope x -> splitByChar(toString(id), arrayMap(x -> toString(1), [NULL])). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:09.200623 [ 10900 ] {239ba93a-60ef-49f0-85ba-b965526de56c} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000015 */ ALTER TABLE rdb_test_096emk5p.mt DROP PARTITION ID 'all', ADD COLUMN `m` int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:09.206444 [ 10900 ] {239ba93a-60ef-49f0-85ba-b965526de56c} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:41958) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt drop partition id 'all', add column m int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:09.208924 [ 10900 ] {239ba93a-60ef-49f0-85ba-b965526de56c} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:09.568424 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_121_121_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.628797 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_122_122_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.628801 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_123_123_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.634727 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_123_123_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.654330 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_124_124_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.657281 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_125_125_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.659363 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_114_114_0/ is broken and need manual correction 2025.03.05 21:29:09.697427 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_127_127_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.698568 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_126_126_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.704343 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_127_127_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.708478 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_126_126_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.711014 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_127_127_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:09.925994 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_114_114_0/checksums.txt"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/PartMetadataManagerOrdinary.cpp:13: DB::PartMetadataManagerOrdinary::read(String const&) const @ 0x000000001cfc83db 12. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:1227: DB::IMergeTreeDataPart::loadChecksums(bool) @ 0x000000001cab7591 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:698: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab4ea9 14. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 15. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 23. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 24. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 25. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001327bc96 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001327aef5 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:29:10.524863 [ 1366 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_125_125_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:12.011873 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:13.343502 [ 10989 ] {12be7dab-55e1-4929-982d-2a3dc9888485} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000016 */ ALTER TABLE rdb_test_096emk5p.rmt DROP PARTITION ID 'all', ADD COLUMN `m` int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:13.352195 [ 10989 ] {12be7dab-55e1-4929-982d-2a3dc9888485} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:42012) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.rmt drop partition id 'all', add column m int), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:13.354572 [ 10989 ] {12be7dab-55e1-4929-982d-2a3dc9888485} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:847: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x000000001a656633 12. /build/src/Interpreters/DDLWorker.cpp:656: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650554 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 14. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:14.407831 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_131_131_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.431754 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_133_133_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.432007 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_132_132_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.436917 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_133_133_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.470029 [ 1368 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_134_134_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.470203 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_135_135_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.476847 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_135_135_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.502272 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_137_137_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.503088 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_136_136_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.507973 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_137_137_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:14.533007 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_138_138_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:16.244260 [ 10989 ] {e54101aa-7c49-4923-b991-2de5392888de} executeQuery: Code: 43. DB::Exception: Arguments of function nowInBlock should be String or FixedString: In scope SELECT nowInBlock(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42056) (comment: 02372_now_in_block.sql) (in query: SELECT nowInBlock(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/nowInBlock.cpp:70: DB::(anonymous namespace)::FunctionNowInBlock::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010e8b68c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:29:16.245757 [ 10989 ] {e54101aa-7c49-4923-b991-2de5392888de} TCPHandler: Code: 43. DB::Exception: Arguments of function nowInBlock should be String or FixedString: In scope SELECT nowInBlock(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/nowInBlock.cpp:70: DB::(anonymous namespace)::FunctionNowInBlock::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010e8b68c 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:29:16.485074 [ 10989 ] {cf771442-6a2e-4c96-ac47-01e4496f8f1e} executeQuery: Code: 42. DB::Exception: Arguments size of function nowInBlock should be 0 or 1: In scope SELECT nowInBlock('UTC', 'UTC'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42056) (comment: 02372_now_in_block.sql) (in query: SELECT nowInBlock('UTC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/nowInBlock.cpp:66: DB::(anonymous namespace)::FunctionNowInBlock::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010e8b555 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:29:16.486222 [ 10989 ] {cf771442-6a2e-4c96-ac47-01e4496f8f1e} TCPHandler: Code: 42. DB::Exception: Arguments size of function nowInBlock should be 0 or 1: In scope SELECT nowInBlock('UTC', 'UTC'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/nowInBlock.cpp:66: DB::(anonymous namespace)::FunctionNowInBlock::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010e8b555 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:29:17.051865 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:17.340370 [ 10989 ] {d46518c1-9fdd-414d-964e-1a253d81e021} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 02445_replicated_db_alter_partition.sh) (in query: /* ddl_entry=query-0000000017 */ ALTER TABLE rdb_test_096emk5p.mt DROP PARTITION ID 'all', UPDATE n = 2 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:17.345489 [ 10989 ] {d46518c1-9fdd-414d-964e-1a253d81e021} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:42102) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt drop partition id 'all', update n = 2 where 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:17.347349 [ 10989 ] {d46518c1-9fdd-414d-964e-1a253d81e021} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 11. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:291: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001a12d04b 13. /build/src/Databases/DatabaseReplicated.cpp:785: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, DB::QueryFlags) @ 0x000000001a0f5457 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:120: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7df2 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:18.560740 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_142_142_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.597721 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_144_144_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.598955 [ 1359 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_143_143_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.605032 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_144_144_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.623479 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_145_145_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.624882 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_146_146_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.629758 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_131_135_1/ is broken and need manual correction 2025.03.05 21:29:18.634291 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_146_146_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:18.750062 [ 10989 ] {df5d9614-527f-414e-a1cb-649c8e042e8f} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41868) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(x), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Planner/PlannerActionsVisitor.cpp:1007: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a73e0 7. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 8. /build/src/Planner/PlannerActionsVisitor.cpp:782: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001a4a9cce 9. /build/src/Planner/PlannerActionsVisitor.cpp:986: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a7030 10. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 11. /build/src/Planner/PlannerActionsVisitor.cpp:636: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001a4a1b08 12. /build/src/Planner/PlannerActionsVisitor.cpp:1043: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001a4a1818 13. /build/src/Planner/Utils.cpp:242: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b5310a5 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:360: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001b5cea29 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:559: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001b5cb17b 16. /build/src/Planner/Planner.cpp:1497: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50efb9 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 19. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:18.751352 [ 10989 ] {df5d9614-527f-414e-a1cb-649c8e042e8f} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Planner/PlannerActionsVisitor.cpp:1007: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a73e0 7. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 8. /build/src/Planner/PlannerActionsVisitor.cpp:782: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001a4a9cce 9. /build/src/Planner/PlannerActionsVisitor.cpp:986: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a7030 10. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 11. /build/src/Planner/PlannerActionsVisitor.cpp:636: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001a4a1b08 12. /build/src/Planner/PlannerActionsVisitor.cpp:1043: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001a4a1818 13. /build/src/Planner/Utils.cpp:242: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b5310a5 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:360: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001b5cea29 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:559: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001b5cb17b 16. /build/src/Planner/Planner.cpp:1497: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50efb9 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 19. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:18.784334 [ 10989 ] {77b64ced-5964-443d-be0b-300e4e066934} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41868) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(cast(x, 'Array(UInt8)')), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Planner/PlannerActionsVisitor.cpp:1007: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a73e0 7. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 8. /build/src/Planner/PlannerActionsVisitor.cpp:782: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001a4a9cce 9. /build/src/Planner/PlannerActionsVisitor.cpp:986: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a7030 10. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 11. /build/src/Planner/PlannerActionsVisitor.cpp:636: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001a4a1b08 12. /build/src/Planner/PlannerActionsVisitor.cpp:1043: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001a4a1818 13. /build/src/Planner/Utils.cpp:242: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b5310a5 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:360: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001b5cea29 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:559: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001b5cb17b 16. /build/src/Planner/Planner.cpp:1497: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50efb9 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 19. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:18.785364 [ 10989 ] {77b64ced-5964-443d-be0b-300e4e066934} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Planner/PlannerActionsVisitor.cpp:1007: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a73e0 7. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 8. /build/src/Planner/PlannerActionsVisitor.cpp:782: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001a4a9cce 9. /build/src/Planner/PlannerActionsVisitor.cpp:986: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001a4a7030 10. /build/src/Planner/PlannerActionsVisitor.cpp:658: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001a4a60e9 11. /build/src/Planner/PlannerActionsVisitor.cpp:636: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001a4a1b08 12. /build/src/Planner/PlannerActionsVisitor.cpp:1043: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001a4a1818 13. /build/src/Planner/Utils.cpp:242: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b5310a5 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:360: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001b5cea29 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:559: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001b5cb17b 16. /build/src/Planner/Planner.cpp:1497: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50efb9 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 19. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:21.227878 [ 10992 ] {4a4221e0-e165-49d0-ac4e-174a9f189ac4} executeQuery: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:41956) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.rmt drop partition id 'all', update n = 2 where 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:21.231159 [ 10992 ] {4a4221e0-e165-49d0-ac4e-174a9f189ac4} TCPHandler: Code: 48. DB::Exception: For Replicated databases it's not allowed to execute ALTERs of different types (replicated and non replicated) in single query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:190: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8dae 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:22.092133 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:23.182808 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_150_150_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:27.132884 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:27.517703 [ 1359 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_154_154_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:27.544954 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_155_155_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:28.564685 [ 10900 ] {56850428-a869-4a01-9cc6-8ec54a974665} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000018 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336013467 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:42056) (comment: 02445_replicated_db_alter_partition.sh) (in query: alter table rdb_test_096emk5p.mt update n=2 where n=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:28.567277 [ 10900 ] {56850428-a869-4a01-9cc6-8ec54a974665} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000018 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.336013467 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:32.181655 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:32.573457 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_160_160_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:32.617243 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_161_161_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:32.654691 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_162_162_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:36.864298 [ 1366 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_166_166_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:36.881524 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_167_167_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:36.881723 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_168_168_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:36.890014 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_168_168_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:36.902301 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_169_169_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:37.214447 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:41.460757 [ 1364 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_173_173_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.496876 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_175_175_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.499017 [ 1368 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_174_174_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.506139 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_169_169_0/ is broken and need manual correction 2025.03.05 21:29:41.508949 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_175_175_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.530169 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_176_176_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.530534 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_177_177_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.538781 [ 1367 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_177_177_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:41.555167 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_178_178_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:42.260489 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:44.083020 [ 1582 ] {9244c0e9-6bdb-4954-a568-2d4c9bda3457} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000019 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.332012756 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:51488) (comment: 02445_replicated_db_alter_partition.sh) (in query: delete from rdb_test_096emk5p.mt where n=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:44.085634 [ 1582 ] {9244c0e9-6bdb-4954-a568-2d4c9bda3457} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000019 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.332012756 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:45.505561 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_182_182_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.543115 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_183_183_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.561834 [ 1357 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_184_184_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.562327 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_185_185_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.570585 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_185_185_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.600411 [ 1366 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_186_186_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.625746 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_187_187_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.630803 [ 1360 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_188_188_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.633728 [ 1360 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_177_177_0/ is broken and need manual correction 2025.03.05 21:29:45.636472 [ 1360 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_188_188_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:45.691420 [ 4577 ] {054835c2-c67f-4834-9f71-4fea1e0bf465} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: In scope SELECT accurateCastOrNull(JSON_VALUE('', ''), 'String'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print extract_json('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionSQLJSON.h:173: DB::FunctionSQLJSONHelpers::Executor>, DB::SimdJSONParser>::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, unsigned int, std::shared_ptr const&) @ 0x000000000a963d19 7. /build/src/Functions/FunctionSQLJSON.h:238: DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a963404 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:45.692653 [ 4577 ] {054835c2-c67f-4834-9f71-4fea1e0bf465} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: In scope SELECT accurateCastOrNull(JSON_VALUE('', ''), 'String'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionSQLJSON.h:173: DB::FunctionSQLJSONHelpers::Executor>, DB::SimdJSONParser>::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, unsigned int, std::shared_ptr const&) @ 0x000000000a963d19 7. /build/src/Functions/FunctionSQLJSON.h:238: DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a963404 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:45.714308 [ 4577 ] {3f7466e0-170c-4935-9ecd-deab5bbfda16} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: In scope SELECT accurateCastOrNull(JSON_VALUE('', 'a'), 'String'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print extract_json('a', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionSQLJSON.h:173: DB::FunctionSQLJSONHelpers::Executor>, DB::SimdJSONParser>::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, unsigned int, std::shared_ptr const&) @ 0x000000000a963d19 7. /build/src/Functions/FunctionSQLJSON.h:238: DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a963404 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:45.715471 [ 4577 ] {3f7466e0-170c-4935-9ecd-deab5bbfda16} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: In scope SELECT accurateCastOrNull(JSON_VALUE('', 'a'), 'String'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionSQLJSON.h:173: DB::FunctionSQLJSONHelpers::Executor>, DB::SimdJSONParser>::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, unsigned int, std::shared_ptr const&) @ 0x000000000a963d19 7. /build/src/Functions/FunctionSQLJSON.h:238: DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a963404 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:29:47.075689 [ 4577 ] {55efe49c-64eb-447e-8cf4-1bc7fea40cab} executeQuery: Code: 395. DB::Exception: Expected guid as argument: while executing 'FUNCTION if(_CAST(1_UInt8, 'UInt8'_String) :: 1, toString(throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String)) :: 3, _CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String) :: 4) -> if(_CAST(1_UInt8, 'UInt8'_String), toString(throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String)), _CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String)) Nullable(String) : 5'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print base64_encode_fromguid(dynamic(null));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:102: DB::Exception::createRuntime(int, String const&) @ 0x0000000011e07ee8 6. /build/src/Functions/throwIf.cpp:136: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05bb7 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Columns/ColumnFunction.cpp:322: DB::ColumnFunction::reduce() const @ 0x000000001bee43c9 14. /build/src/Columns/ColumnFunction.cpp:311: DB::ColumnFunction::reduce() const @ 0x000000001bee41df 15. /build/src/Columns/MaskOperations.cpp:310: DB::executeColumnIfNeeded(DB::ColumnWithTypeAndName&, bool) @ 0x000000001c238a2b 16. /build/src/Functions/if.cpp:1246: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000001b1cdf46 17. /build/src/Functions/if.cpp:1301: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cc4fb 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 23. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 24. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 25. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 26. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 2025.03.05 21:29:47.076986 [ 4577 ] {55efe49c-64eb-447e-8cf4-1bc7fea40cab} TCPHandler: Code: 395. DB::Exception: Expected guid as argument: while executing 'FUNCTION if(_CAST(1_UInt8, 'UInt8'_String) :: 1, toString(throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String)) :: 3, _CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String) :: 4) -> if(_CAST(1_UInt8, 'UInt8'_String), toString(throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String)), _CAST(NULL_Nullable(Nothing), 'Nullable(Nothing)'_String)) Nullable(String) : 5'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:102: DB::Exception::createRuntime(int, String const&) @ 0x0000000011e07ee8 6. /build/src/Functions/throwIf.cpp:136: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05bb7 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Columns/ColumnFunction.cpp:322: DB::ColumnFunction::reduce() const @ 0x000000001bee43c9 14. /build/src/Columns/ColumnFunction.cpp:311: DB::ColumnFunction::reduce() const @ 0x000000001bee41df 15. /build/src/Columns/MaskOperations.cpp:310: DB::executeColumnIfNeeded(DB::ColumnWithTypeAndName&, bool) @ 0x000000001c238a2b 16. /build/src/Functions/if.cpp:1246: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x000000001b1cdf46 17. /build/src/Functions/if.cpp:1301: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cc4fb 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 23. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 24. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 25. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 26. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 2025.03.05 21:29:47.301036 [ 4577 ] {fe7847e9-62c1-452f-97f3-3bd77eca7433} executeQuery: Code: 395. DB::Exception: Expected guid as argument: while executing 'FUNCTION throwIf(_CAST(true_Bool, 'Bool'_String) :: 1, 'Expected guid as argument'_String :: 2) -> throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print base64_encode_fromguid("abcd1231");), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:102: DB::Exception::createRuntime(int, String const&) @ 0x0000000011e07ee8 6. /build/src/Functions/throwIf.cpp:136: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05bb7 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 2025.03.05 21:29:47.302520 [ 4577 ] {fe7847e9-62c1-452f-97f3-3bd77eca7433} TCPHandler: Code: 395. DB::Exception: Expected guid as argument: while executing 'FUNCTION throwIf(_CAST(true_Bool, 'Bool'_String) :: 1, 'Expected guid as argument'_String :: 2) -> throwIf(_CAST(true_Bool, 'Bool'_String), 'Expected guid as argument'_String) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:102: DB::Exception::createRuntime(int, String const&) @ 0x0000000011e07ee8 6. /build/src/Functions/throwIf.cpp:136: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e05bb7 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04a3d 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 2025.03.05 21:29:47.304562 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:48.698631 [ 10990 ] {ff961208-b6e0-4a79-9053-ee358aa81f87} executeQuery: Code: 80. DB::Exception: Failed to rewrite ' test_gb2ydkvr.t1 AS __table1, test_gb2ydkvr.t2 AS __table2' to INNER JOIN: no equi-join conditions found in WHERE clause. You may set setting `cross_to_inner_join_rewrite` to `1` to allow slow CROSS JOIN for this case. (INCORRECT_QUERY) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 02364_setting_cross_to_inner_rewrite.sql) (in query: SELECT count() = 1 FROM t1, t2 WHERE t1.x > t2.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:185: DB::(anonymous namespace)::CrossToInnerJoinVisitor::enterImpl(std::shared_ptr&) @ 0x000000001b40d0c2 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:154: DB::InDepthQueryTreeVisitorWithContext::visit(std::shared_ptr&) @ 0x000000001b40ccfe 8. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:231: DB::CrossToInnerJoinPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b40ca6c 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:48.699760 [ 10990 ] {ff961208-b6e0-4a79-9053-ee358aa81f87} TCPHandler: Code: 80. DB::Exception: Failed to rewrite ' test_gb2ydkvr.t1 AS __table1, test_gb2ydkvr.t2 AS __table2' to INNER JOIN: no equi-join conditions found in WHERE clause. You may set setting `cross_to_inner_join_rewrite` to `1` to allow slow CROSS JOIN for this case. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:185: DB::(anonymous namespace)::CrossToInnerJoinVisitor::enterImpl(std::shared_ptr&) @ 0x000000001b40d0c2 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:154: DB::InDepthQueryTreeVisitorWithContext::visit(std::shared_ptr&) @ 0x000000001b40ccfe 8. /build/src/Analyzer/Passes/CrossToInnerJoinPass.cpp:231: DB::CrossToInnerJoinPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b40ca6c 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:49.468216 [ 4577 ] {71002acc-e243-416b-94c8-fd6c323539cf} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 's' of function splitByChar, expected String, got UInt8: In scope SELECT if((length(splitByChar('.', 42)) > 4) OR (length(splitByChar('.', 42)) < 1) OR (match(42, '.*[a-zA-Z]+.*') = 1), toDecimal128OrNull('NULL', 0), toDecimal128OrNull(substring(arrayStringConcat(arrayMap(x -> leftPad(x, 8, '0'), arrayMap(x -> if(empty(x), '0', x), arrayResize(splitByChar('.', 42), 4)))), 8), 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print parse_version(42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:29:49.469376 [ 4577 ] {71002acc-e243-416b-94c8-fd6c323539cf} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 's' of function splitByChar, expected String, got UInt8: In scope SELECT if((length(splitByChar('.', 42)) > 4) OR (length(splitByChar('.', 42)) < 1) OR (match(42, '.*[a-zA-Z]+.*') = 1), toDecimal128OrNull('NULL', 0), toDecimal128OrNull(substring(arrayStringConcat(arrayMap(x -> leftPad(x, 8, '0'), arrayMap(x -> if(empty(x), '0', x), arrayResize(splitByChar('.', 42), 4)))), 8), 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:29:50.047431 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_192_192_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.079176 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_193_193_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.079529 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_194_194_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.079905 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_195_195_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.083686 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_187_187_0/ is broken and need manual correction 2025.03.05 21:29:50.083757 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_187_187_0/ is broken and need manual correction 2025.03.05 21:29:50.127780 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_197_197_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.128031 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_196_196_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.133657 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_197_197_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.134990 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_196_196_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.139742 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_197_197_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.141423 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_196_196_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.151415 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_197_197_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.185819 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_199_199_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.186870 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_198_198_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.190926 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_199_199_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.195661 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_198_198_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.196373 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_199_199_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.202735 [ 1357 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_199_199_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.208603 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_198_198_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.355925 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_187_187_0/default_compression_codec.txt"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/PartMetadataManagerOrdinary.cpp:13: DB::PartMetadataManagerOrdinary::read(String const&) const @ 0x000000001cfc83db 12. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:969: DB::IMergeTreeDataPart::loadDefaultCompressionCodec() @ 0x000000001cabb711 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:718: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab5257 14. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 15. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 23. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 24. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 25. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001327bc96 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001327aef5 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:29:50.356050 [ 1365 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_187_187_0/b.bin"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:74: DB::MergeTreeDataPartChecksum::checkSize(DB::IDataPartStorage const&, String const&) const @ 0x000000001ccb5000 12. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:104: DB::MergeTreeDataPartChecksums::checkSizes(DB::IDataPartStorage const&) const @ 0x000000001ccb5665 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2100: DB::IMergeTreeDataPart::checkConsistencyBase() const @ 0x000000001cac9b64 14. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2143: DB::IMergeTreeDataPart::checkConsistency(bool) const @ 0x000000001cabad70 15. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:716: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab5241 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 17. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 18. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 25. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 27. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:29:50.509025 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_194_194_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:50.515129 [ 4577 ] {28a02ff1-739e-4a70-a862-83d1071bc9ce} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function empty: In scope SELECT if(empty(55) OR hasAll(splitByChar(' ', 55), ['']), arrayMap(x -> NULL, splitByChar(' ', '')), splitByChar(' ', 55)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print parse_command_line(55, 'windows');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionStringOrArrayToT.h:58: DB::FunctionStringOrArrayToT, DB::(anonymous namespace)::NameEmpty, char8_t, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d314a3d 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:29:50.516279 [ 4577 ] {28a02ff1-739e-4a70-a862-83d1071bc9ce} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function empty: In scope SELECT if(empty(55) OR hasAll(splitByChar(' ', 55), ['']), arrayMap(x -> NULL, splitByChar(' ', '')), splitByChar(' ', 55)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionStringOrArrayToT.h:58: DB::FunctionStringOrArrayToT, DB::(anonymous namespace)::NameEmpty, char8_t, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d314a3d 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:29:50.516814 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_183_183_0/ is broken and need manual correction 2025.03.05 21:29:50.518016 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_188_188_0/ is broken and need manual correction 2025.03.05 21:29:51.251672 [ 4577 ] {39273562-79a7-4ce3-ae11-020e8df73d08} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function position: In scope SELECT if(CAST(position(65, '\n'), 'UInt8'), splitByChar(',', substring(65, 1, position(65, '\n') - 1)), splitByChar(',', substring(65, 1, length(65)))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51432) (comment: 02366_kql_func_string.sql) (in query: print parse_csv(65);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsStringSearch.h:138: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000118e2dc7 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:29:51.252815 [ 4577 ] {39273562-79a7-4ce3-ae11-020e8df73d08} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function position: In scope SELECT if(CAST(position(65, '\n'), 'UInt8'), splitByChar(',', substring(65, 1, position(65, '\n') - 1)), splitByChar(',', substring(65, 1, length(65)))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsStringSearch.h:138: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000118e2dc7 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5494: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b64af 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:29:52.338413 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:54.391908 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx43_30551} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (36, 48, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_0 from test_xuqsbg1v.tt (2e41eff2-4cc2-4d6d-b815-108507460fbc), but it's locked by another transaction (TID: (36, 45, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 5059575972521050977) which is currently removing this part. (SERIALIZATION_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:44524) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1940: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10b327 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5169: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c368 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:54.393404 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx43_30551} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (36, 48, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_0 from test_xuqsbg1v.tt (2e41eff2-4cc2-4d6d-b815-108507460fbc), but it's locked by another transaction (TID: (36, 45, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 5059575972521050977) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1940: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10b327 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5169: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c368 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:54.404522 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_203_203_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:54.451766 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_205_205_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:54.451856 [ 1360 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_204_204_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:54.456908 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_205_205_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:54.468836 [ 1363 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_206_206_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:54.573034 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx43_7529} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:44534) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:29:54.574576 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx43_7529} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:57.364640 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:29:58.543590 [ 10263 ] {ab59b7f9-2b47-4a66-b436-69e31bc6cd90} executeQuery: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000020 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.328012131 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:47714) (comment: 02445_replicated_db_alter_partition.sh) (in query: delete from rdb_test_096emk5p.mt where n=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:58.547173 [ 10263 ] {ab59b7f9-2b47-4a66-b436-69e31bc6cd90} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /test/test_096emk5p/rdb/log/query-0000000020 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 3.328012131 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:29:59.032125 [ 1358 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_211_211_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.062489 [ 1360 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_212_212_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.062923 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_213_213_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.071281 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_213_213_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.092183 [ 1354 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_214_214_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.092581 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_215_215_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:29:59.100271 [ 1356 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_215_215_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:02.397607 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:30:02.981036 [ 1362 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_218_218_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.004100 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_221_221_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.004543 [ 1366 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_220_220_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.012061 [ 1355 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_221_221_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.055122 [ 1363 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_222_222_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.055684 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_223_223_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.061095 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part /var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_210_210_0/ is broken and need manual correction 2025.03.05 21:30:03.062119 [ 1369 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/381/381567c8-9458-42f0-accd-b51594194bfa/detached/all_210_210_0/primary.cidx"], Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/contrib/llvm-project/libcxx/src/support/runtime/stdexcept_default.ipp:33: std::runtime_error::runtime_error(String const&) @ 0x0000000026135efd 3. /build/contrib/llvm-project/libcxx/src/system_error.cpp:247: std::system_error::system_error(std::error_code, String const&) @ 0x000000002613d393 4. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:41: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x00000000133503a1 5. /build/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000](String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x00000000260ca567 6. /build/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:175: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler::report(std::error_code const&) const @ 0x00000000260d3354 7. /build/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1158: std::__fs::filesystem::__file_size(std::__fs::filesystem::path const&, std::error_code*) @ 0x00000000260d3115 8. /build/contrib/llvm-project/libcxx/include/__filesystem/operations.h:108: std::__fs::filesystem::file_size[abi:v15000](std::__fs::filesystem::path const&) @ 0x000000001329b5b9 9. /build/src/Disks/DiskLocal.cpp:285: DB::DiskLocal::getFileSize(String const&) const @ 0x000000001a2d309d 10. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:90: DB::DataPartStorageOnDiskFull::getFileSize(String const&) const @ 0x000000001ca7d4f9 11. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:74: DB::MergeTreeDataPartChecksum::checkSize(DB::IDataPartStorage const&, String const&) const @ 0x000000001ccb5000 12. /build/src/Storages/MergeTree/MergeTreeDataPartChecksum.cpp:104: DB::MergeTreeDataPartChecksums::checkSizes(DB::IDataPartStorage const&) const @ 0x000000001ccb5665 13. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2100: DB::IMergeTreeDataPart::checkConsistencyBase() const @ 0x000000001cac9b64 14. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:2143: DB::IMergeTreeDataPart::checkConsistency(bool) const @ 0x000000001cabad70 15. /build/src/Storages/MergeTree/IMergeTreeDataPart.cpp:716: DB::IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool, bool) @ 0x000000001cab5241 16. /build/src/Storages/StorageReplicatedMergeTree.cpp:1991: DB::StorageReplicatedMergeTree::attachPartHelperFoundValidPart(DB::ReplicatedMergeTreeLogEntry const&) const @ 0x000000001c4e135f 17. /build/src/Storages/StorageReplicatedMergeTree.cpp:2063: DB::StorageReplicatedMergeTree::executeLogEntry(DB::ReplicatedMergeTreeLogEntry&) @ 0x000000001c4e290b 18. /build/src/Storages/StorageReplicatedMergeTree.cpp:3600: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr)::$_1::operator()(std::shared_ptr&) const @ 0x000000001c5c0ff9 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c0f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c0f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c0f1d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c0ee5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d08179e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d06895d 25. /build/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp:1801: DB::ReplicatedMergeTreeQueue::processEntry(std::function ()>, std::shared_ptr&, std::function&)>) @ 0x000000001d052fe1 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:3596: DB::StorageReplicatedMergeTree::processQueueEntry(std::shared_ptr) @ 0x000000001c525608 27. /build/src/Storages/StorageReplicatedMergeTree.cpp:3659: DB::StorageReplicatedMergeTree::scheduleDataProcessingJob(DB::BackgroundJobsAssignee&)::$_0::operator()() @ 0x000000001c5c29b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c2975 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c2955 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c2935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c2900 Cannot print extra info for Poco::Exception (version 24.3.12.76.altinitystable) 2025.03.05 21:30:03.082225 [ 1361 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_223_223_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:03.090821 [ 1366 ] {} test_6snqtsy6.alter_table0 (381567c8-9458-42f0-accd-b51594194bfa): Part all_224_224_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.297415 [ 1369 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_227_227_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.328990 [ 1363 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_228_228_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.330869 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_229_229_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.334673 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_222_222_0/ is broken and need manual correction 2025.03.05 21:30:07.341121 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_229_229_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.370198 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_231_231_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.370647 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_230_230_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.377285 [ 1355 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_231_231_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.422810 [ 1367 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_232_232_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.423868 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_233_233_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.427516 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_224_224_0/ is broken and need manual correction 2025.03.05 21:30:07.429346 [ 1362 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_233_233_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:07.479219 [ 7080 ] {} DDLWorker(rdb_test_096emk5p_2): Error on initialization of rdb_test_096emk5p_2: Code: 57. DB::Exception: Directory for table data store/dd7/dd7f8efc-e929-4797-901a-5d64a7ba5f6f/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1437: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01c5ce 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Databases/DatabaseReplicated.cpp:1136: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&)::$_4::operator()() const @ 0x000000001a10371a 10. /build/src/Databases/DatabaseReplicated.cpp:1142: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001a0fc711 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:118: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001a129a4f 12. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001a127609 13. /build/src/Interpreters/DDLWorker.cpp:1141: DB::DDLWorker::runMainThread() @ 0x000000001a643727 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 17. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 24. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 25. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:30:13.608290 [ 10993 ] {32bd0b67-356a-4637-a221-871af915e4e6} executeQuery: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> compound_value.*. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:44742) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT arrayMap(x -> compound_value.*, [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6057: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb89d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:13.609302 [ 10993 ] {32bd0b67-356a-4637-a221-871af915e4e6} TCPHandler: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> compound_value.*. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6057: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb89d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:13.936236 [ 10993 ] {cab5c58f-ed1e-4247-a73e-939f254fc09b} executeQuery: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY (x -> compound_value.*) FROM test_table. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:44742) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x000000001b124504 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4985: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0db611 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6450: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1120 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:13.937346 [ 10993 ] {cab5c58f-ed1e-4247-a73e-939f254fc09b} TCPHandler: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY (x -> compound_value.*) FROM test_table. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x000000001b124504 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4985: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0db611 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6450: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1120 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:14.692488 [ 10993 ] {8d2ada36-90f6-4337-9cb5-c225e99e1d34} executeQuery: Code: 36. DB::Exception: Lambda x -> (x + 1) is not allowed in expression context. In scope WITH (x, y) -> y AS lambda SELECT arrayMap(x -> (x + 1), [1, 2, 3]), (x -> (x + 1)), 1 AS x. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:44742) (comment: 02343_analyzer_lambdas.sql) (in query: -- lambda(tuple(x), x + 1) parsed as lambda definion but not as call of lambda defined in WITH WITH (x, y) -> y AS lambda SELECT arrayMap(lambda(tuple(x), x + 1), [1, 2, 3]), lambda(tuple(x), x + 1), 1 AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6497: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a145d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:14.693450 [ 10993 ] {8d2ada36-90f6-4337-9cb5-c225e99e1d34} TCPHandler: Code: 36. DB::Exception: Lambda x -> (x + 1) is not allowed in expression context. In scope WITH (x, y) -> y AS lambda SELECT arrayMap(x -> (x + 1), [1, 2, 3]), (x -> (x + 1)), 1 AS x. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6497: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a145d 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:23.222160 [ 10993 ] {1ae586f0-2397-40a0-86c9-d1c1f14bb2ce} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 24.3.12.76.altinitystable) (from [::1]:58984) (comment: 02315_readonly_create_function.sh) (in query: CREATE FUNCTION test_function AS (x) -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019573cca 7. /build/src/Access/ContextAccess.cpp:627: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001957175b 8. /build/src/Access/ContextAccess.cpp:651: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001953df82 9. /build/src/Access/ContextAccess.cpp:672: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582cb3 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:46: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48a32 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:23.224086 [ 10993 ] {1ae586f0-2397-40a0-86c9-d1c1f14bb2ce} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019573cca 7. /build/src/Access/ContextAccess.cpp:627: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001957175b 8. /build/src/Access/ContextAccess.cpp:651: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001953df82 9. /build/src/Access/ContextAccess.cpp:672: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582cb3 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:46: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48a32 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:24.239210 [ 1356 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_236_236_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.257525 [ 1357 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_237_237_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.257560 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_238_238_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.264911 [ 1368 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_238_238_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.292074 [ 1364 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_239_239_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.292556 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_240_240_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.297261 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part's all_240_240_0 column a has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:30:24.297665 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part's all_240_240_0 column b has non zero data compressed size, but all data files don't exist or empty 2025.03.05 21:30:24.300369 [ 1365 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_240_240_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.304474 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_241_241_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.305174 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_242_242_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.306875 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_228_228_0/ is broken and need manual correction 2025.03.05 21:30:24.307089 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part /var/lib/clickhouse/store/ec5/ec595e8d-86a3-42ef-8966-9693c39aa06f/detached/all_228_228_0/ is broken and need manual correction 2025.03.05 21:30:24.308609 [ 1354 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_241_241_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.308845 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_242_242_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:24.313828 [ 1358 ] {} test_6snqtsy6.alter_table1 (ec595e8d-86a3-42ef-8966-9693c39aa06f): Part all_242_242_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:30:26.336772 [ 10881 ] {ce2644ba-5a24-4cbd-83f1-b5221dbed23e} executeQuery: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:59022) (comment: 02311_create_table_with_unknown_format.sql) (in query: create table test_02311 (x UInt32) engine=File(UnknownFormat);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageFile.cpp:1058: DB::StorageFile::StorageFile(DB::StorageFile::CommonArguments) @ 0x000000001c3721bf 8. /build/src/Storages/StorageFile.cpp:1031: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001c373860 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c391522 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c391469 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3913ef 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3912ff 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3911ce 14. /build/src/Storages/StorageFile.cpp:2147: DB::registerStorageFile(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c38473e 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c383ddd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c383d7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c383d3d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c383d05 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:26.337765 [ 10881 ] {ce2644ba-5a24-4cbd-83f1-b5221dbed23e} TCPHandler: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageFile.cpp:1058: DB::StorageFile::StorageFile(DB::StorageFile::CommonArguments) @ 0x000000001c3721bf 8. /build/src/Storages/StorageFile.cpp:1031: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001c373860 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c391522 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c391469 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3913ef 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3912ff 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, DB::StorageFile::CommonArguments&) @ 0x000000001c3911ce 14. /build/src/Storages/StorageFile.cpp:2147: DB::registerStorageFile(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c38473e 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c383ddd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c383d7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c383d3d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c383d05 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:26.560954 [ 10881 ] {0979b080-5747-44a8-8363-e1ff828fb441} executeQuery: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:59022) (comment: 02311_create_table_with_unknown_format.sql) (in query: create table test_02311 (x UInt32) engine=URL('http://some/url', UnknownFormat);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageURL.cpp:126: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff570 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:26.562001 [ 10881 ] {0979b080-5747-44a8-8363-e1ff828fb441} TCPHandler: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageURL.cpp:126: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff570 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:30:26.866973 [ 10881 ] {919090bd-399d-4f7d-83f6-41dcafe314a1} executeQuery: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:59022) (comment: 02311_create_table_with_unknown_format.sql) (in query: create table test_02311 (x UInt32) engine=S3('http://host:2020/test/data', UnknownFormat);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageS3.cpp:1059: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001c631630 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c6600f4 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65ff95 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&>(std::allocator, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fec3 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void>(std::allocator const&, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fd75 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void>(DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fcbb 13. /build/src/Storages/StorageS3.cpp:1963: DB::registerStorageS3Impl(String const&, DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c63e914 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c63e1fd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c63e19d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c63e15d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c63e125 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:26.867964 [ 10881 ] {919090bd-399d-4f7d-83f6-41dcafe314a1} TCPHandler: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageS3.cpp:1059: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001c631630 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c6600f4 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65ff95 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&>(std::allocator, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fec3 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void>(std::allocator const&, DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fd75 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool, std::shared_ptr&, void>(DB::StorageS3::Configuration&&, std::shared_ptr&&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional&, bool&&, std::shared_ptr&) @ 0x000000001c65fcbb 13. /build/src/Storages/StorageS3.cpp:1963: DB::registerStorageS3Impl(String const&, DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c63e914 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c63e1fd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c63e19d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c63e15d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c63e125 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:27.065189 [ 10881 ] {03e3a1d4-cc5f-43c9-8f42-f338846d2cda} executeQuery: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:59022) (comment: 02311_create_table_with_unknown_format.sql) (in query: create table test_02311 (x UInt32) engine=HDFS('http://hdfs:9000/data', UnknownFormat);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/HDFS/StorageHDFS.cpp:211: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, bool, std::shared_ptr) @ 0x00000000193804e9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000], String&, bool, std::shared_ptr&, DB::StorageHDFS*>(DB::StorageHDFS*, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a13ca 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, bool, std::shared_ptr&, void, void>(std::allocator&, DB::StorageHDFS*, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1264 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, bool, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1191 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, bool, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1023 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, bool, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a0f49 13. /build/src/Storages/HDFS/StorageHDFS.cpp:1173: DB::registerStorageHDFS(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001938d2fe 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001938c99d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001938c93d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001938c8fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001938c8c5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:27.066105 [ 10881 ] {03e3a1d4-cc5f-43c9-8f42-f338846d2cda} TCPHandler: Code: 73. DB::Exception: Unknown format UnknownFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/HDFS/StorageHDFS.cpp:211: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, bool, std::shared_ptr) @ 0x00000000193804e9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000], String&, bool, std::shared_ptr&, DB::StorageHDFS*>(DB::StorageHDFS*, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a13ca 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, bool, std::shared_ptr&, void, void>(std::allocator&, DB::StorageHDFS*, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1264 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, bool, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1191 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, bool, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a1023 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, bool, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, bool&&, std::shared_ptr&) @ 0x00000000193a0f49 13. /build/src/Storages/HDFS/StorageHDFS.cpp:1173: DB::registerStorageHDFS(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001938d2fe 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001938c99d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001938c93d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001938c8fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001938c8c5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:30:30.808407 [ 10992 ] {58c3df85-ca63-46bd-94c5-7c31768df875} executeQuery: Code: 36. DB::Exception: GROUPING function argument number % 3 is not in GROUP BY keys. In query SELECT number, grouping(number, number % 2, number % 3) AS gr FROM numbers(10) GROUP BY GROUPING SETS ((number), (number % 2)) ORDER BY number ASC, gr ASC. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:55918) (comment: 02293_grouping_function.sql) (in query: SELECT number, grouping(number, number % 2, number % 3) AS gr FROM numbers(10) GROUP BY GROUPING SETS ( (number), (number % 2) ) ORDER BY number, gr;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Analyzer/ValidationUtils.cpp:101: DB::(anonymous namespace)::ValidateGroupByColumnsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b138565 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a36 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:83: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b1382a2 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a53 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:83: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b1382a2 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a53 12. /build/src/Analyzer/ValidationUtils.cpp:267: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001b137720 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8330: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09d227 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:30:30.809397 [ 10992 ] {58c3df85-ca63-46bd-94c5-7c31768df875} TCPHandler: Code: 36. DB::Exception: GROUPING function argument number % 3 is not in GROUP BY keys. In query SELECT number, grouping(number, number % 2, number % 3) AS gr FROM numbers(10) GROUP BY GROUPING SETS ((number), (number % 2)) ORDER BY number ASC, gr ASC. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Analyzer/ValidationUtils.cpp:101: DB::(anonymous namespace)::ValidateGroupByColumnsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b138565 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a36 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:83: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b1382a2 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a53 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:83: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b1382a2 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b137a53 12. /build/src/Analyzer/ValidationUtils.cpp:267: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001b137720 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8330: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09d227 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:30:31.008061 [ 5772 ] {ee17e524-9a09-4c79-9892-a457d96849e3} executeQuery: Code: 1. DB::Exception: Expected function, got: x. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:55932) (comment: 02292_create_function_validate.sql) (in query: create function foo as x -- { serverError UNSUPPORTED_METHOD } ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:51: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f76f 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:31.008800 [ 5772 ] {ee17e524-9a09-4c79-9892-a457d96849e3} TCPHandler: Code: 1. DB::Exception: Expected function, got: x. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:51: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f76f 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:31.286235 [ 10993 ] {fe3947e7-7bb3-44cb-81a1-12bbfd705ef7} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: In scope SELECT multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55908) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchAny(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106d2fe8 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:31.287129 [ 10993 ] {fe3947e7-7bb3-44cb-81a1-12bbfd705ef7} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: In scope SELECT multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106d2fe8 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:31.750056 [ 10993 ] {5e6e27bd-4e27-4343-a7a1-35e8f44afce1} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: In scope SELECT multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55908) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstIndex(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106def48 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:31.751283 [ 10993 ] {5e6e27bd-4e27-4343-a7a1-35e8f44afce1} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: In scope SELECT multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106def48 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:32.311638 [ 10993 ] {8eb4427f-d0e3-4f2f-95e8-e4e1bbd4e958} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: In scope SELECT multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55908) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstPosition(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106eaf08 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:32.312915 [ 10993 ] {8eb4427f-d0e3-4f2f-95e8-e4e1bbd4e958} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: In scope SELECT multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000106eaf08 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:34.828914 [ 5772 ] {ac095c33-50d2-42c3-bd17-f33bdc1c54f6} executeQuery: Code: 190. DB::Exception: Array arguments for function arrayL1Distance must have equal sizes: In scope SELECT L1Distance([0, 0], [1]). (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT L1Distance([0, 0], [1]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:467: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x000000001222822a 7. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x00000000122219b9 8. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x00000000121bf553 9. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000121be96b 10. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011ffbb1e 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:30:34.830098 [ 5772 ] {ac095c33-50d2-42c3-bd17-f33bdc1c54f6} TCPHandler: Code: 190. DB::Exception: Array arguments for function arrayL1Distance must have equal sizes: In scope SELECT L1Distance([0, 0], [1]). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:467: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x000000001222822a 7. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x00000000122219b9 8. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x00000000121bf553 9. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000121be96b 10. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011ffbb1e 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:30:35.047756 [ 5772 ] {e05f0a93-0b0c-4c9d-977d-3b9bf85edc80} executeQuery: Code: 43. DB::Exception: Argument 1 of function arrayL2Distance must be array.: In scope SELECT L2Distance([1, 2], (3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT L2Distance([1, 2], (3,4));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Functions/array/arrayDistance.cpp:337: DB::FunctionArrayDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012283495 7. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ffe421 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:35.279366 [ 5772 ] {e05f0a93-0b0c-4c9d-977d-3b9bf85edc80} TCPHandler: Code: 43. DB::Exception: Argument 1 of function arrayL2Distance must be array.: In scope SELECT L2Distance([1, 2], (3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Functions/array/arrayDistance.cpp:337: DB::FunctionArrayDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012283495 7. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ffe421 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:35.279366 [ 10908 ] {08acfcfc-df26-4467-b28a-bfff26bb74ad} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_awxykdov.table_for_alter (3b454896-c94c-4a9f-9ad6-bd86e1ae5a56)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:55962) (comment: 02280_add_query_level_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:30:35.280813 [ 10908 ] {08acfcfc-df26-4467-b28a-bfff26bb74ad} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_awxykdov.table_for_alter (3b454896-c94c-4a9f-9ad6-bd86e1ae5a56)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:30:35.494479 [ 5772 ] {56c359b1-6820-4f47-accd-6a8da1cf82b7} executeQuery: Code: 43. DB::Exception: Argument 1 of function arrayL2SquaredDistance must be array.: In scope SELECT L2SquaredDistance([1, 2], (3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT L2SquaredDistance([1, 2], (3,4));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Functions/array/arrayDistance.cpp:337: DB::FunctionArrayDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012347c95 7. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012000c01 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:35.494608 [ 10908 ] {25064abc-21e5-42bf-83e4-fe8a91b8724f} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_awxykdov.table_for_alter (3b454896-c94c-4a9f-9ad6-bd86e1ae5a56)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:55962) (comment: 02280_add_query_level_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:30:35.495720 [ 5772 ] {56c359b1-6820-4f47-accd-6a8da1cf82b7} TCPHandler: Code: 43. DB::Exception: Argument 1 of function arrayL2SquaredDistance must be array.: In scope SELECT L2SquaredDistance([1, 2], (3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Functions/array/arrayDistance.cpp:337: DB::FunctionArrayDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012347c95 7. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012000c01 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:30:35.497259 [ 10908 ] {25064abc-21e5-42bf-83e4-fe8a91b8724f} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_awxykdov.table_for_alter (3b454896-c94c-4a9f-9ad6-bd86e1ae5a56)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:30:35.521623 [ 5772 ] {08d6ea1f-09e5-42b1-9029-5b059a2e6485} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 2, should be 3: In scope SELECT LpDistance([1, 2], [3, 4]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT LpDistance([1, 2], [3,4]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:30:35.522697 [ 5772 ] {08d6ea1f-09e5-42b1-9029-5b059a2e6485} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 2, should be 3: In scope SELECT LpDistance([1, 2], [3, 4]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:30:35.716650 [ 5772 ] {9048c370-74dc-4e07-8450-10340f9a93d9} executeQuery: Code: 69. DB::Exception: Second argument for function arrayLpDistance must be not less than one and not be an infinity: In scope SELECT LpDistance([1, 2], [3, 4], -1.). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT LpDistance([1, 2], [3,4], -1.);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:626: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd765 7. /build/src/Functions/array/arrayDistance.cpp:469: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474b95 8. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 9. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 10. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 11. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:30:35.717783 [ 5772 ] {9048c370-74dc-4e07-8450-10340f9a93d9} TCPHandler: Code: 69. DB::Exception: Second argument for function arrayLpDistance must be not less than one and not be an infinity: In scope SELECT LpDistance([1, 2], [3, 4], -1.). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:626: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd765 7. /build/src/Functions/array/arrayDistance.cpp:469: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474b95 8. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 9. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 10. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 11. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:30:35.938532 [ 5772 ] {e4bfbb3c-870b-4815-948d-0932bf87fb6b} executeQuery: Code: 43. DB::Exception: Argument p of function arrayLpDistance must be numeric constant: In scope SELECT LpDistance([1, 2], [3, 4], 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT LpDistance([1, 2], [3,4], 'aaa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:613: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd482 7. /build/src/Functions/array/arrayDistance.cpp:469: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474b95 8. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 9. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 10. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 11. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:30:35.939776 [ 5772 ] {e4bfbb3c-870b-4815-948d-0932bf87fb6b} TCPHandler: Code: 43. DB::Exception: Argument p of function arrayLpDistance must be numeric constant: In scope SELECT LpDistance([1, 2], [3, 4], 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:613: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd482 7. /build/src/Functions/array/arrayDistance.cpp:469: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474b95 8. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 9. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 10. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 11. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:30:36.156308 [ 5772 ] {1fa22a4c-8393-4cd7-9159-4e0577a106cf} executeQuery: Code: 44. DB::Exception: Second argument for function arrayLpDistance must be either constant Float64 or constant UInt. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:55936) (comment: 02282_array_distance.sql) (in query: SELECT LpDistance([1, 2], [3,4], materialize(2.7));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:619: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd5f0 7. /build/src/Functions/array/arrayDistance.cpp:536: COW::immutable_ptr DB::FunctionArrayDistance::executeWithLeftArgConst(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012479d65 8. /build/src/Functions/array/arrayDistance.cpp:451: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474896 9. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 10. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 11. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 12. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:30:36.157291 [ 5772 ] {1fa22a4c-8393-4cd7-9159-4e0577a106cf} TCPHandler: Code: 44. DB::Exception: Second argument for function arrayLpDistance must be either constant Float64 or constant UInt. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayDistance.cpp:619: DB::FunctionArrayDistance::initConstParams(std::vector> const&) const @ 0x00000000121bd5f0 7. /build/src/Functions/array/arrayDistance.cpp:536: COW::immutable_ptr DB::FunctionArrayDistance::executeWithLeftArgConst(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012479d65 8. /build/src/Functions/array/arrayDistance.cpp:451: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftTypeAndRightType(COW::immutable_ptr, COW::immutable_ptr, unsigned long, std::vector> const&) const @ 0x0000000012474896 9. /build/src/Functions/array/arrayDistance.cpp:433: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultTypeAndLeftType(std::vector> const&, unsigned long) const @ 0x000000001246e299 10. /build/src/Functions/array/arrayDistance.cpp:408: COW::immutable_ptr DB::FunctionArrayDistance::executeWithResultType(std::vector> const&, unsigned long) const @ 0x000000001240c413 11. /build/src/Functions/array/arrayDistance.cpp:374: DB::FunctionArrayDistance::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001240b86b 12. /build/src/Functions/vectorFunctions.cpp:1439: DB::TupleOrArrayFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012005a9e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:30:56.527534 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx69_12175} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (38, 56, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_6 from test_xuqsbg1v.tt (43967d0c-5dc0-469b-a86a-4dcfb5ec5135), but it's locked by another transaction (TID: (38, 57, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 11396110793415539189) which is currently removing this part. (SERIALIZATION_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41000) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1940: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10b327 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5169: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c368 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:56.529253 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx69_12175} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (38, 56, 4bb69c94-ec1c-4425-820b-310e6a1b9a54) tried to remove data part all_1_1_6 from test_xuqsbg1v.tt (43967d0c-5dc0-469b-a86a-4dcfb5ec5135), but it's locked by another transaction (TID: (38, 57, 4bb69c94-ec1c-4425-820b-310e6a1b9a54), TIDH: 11396110793415539189) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001ba9891a 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001ba957ae 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001b64bb8f 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001b64ba07 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3970: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001cbf61f3 10. /build/src/Storages/StorageMergeTree.cpp:1940: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10b327 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5169: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c368 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 16. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 17. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:30:58.346876 [ 10262 ] {eb15136a-75da-4f93-8b0f-cf9c989db2ba} executeQuery: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:35310) (comment: 02250_hints_for_projections.sh) (in query: ALTER TABLE t DROP PROJECTION pToDro), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:30:58.348733 [ 10262 ] {eb15136a-75da-4f93-8b0f-cf9c989db2ba} TCPHandler: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:02.317313 [ 10901 ] {d4cafb39-8f76-46a5-b4b5-ef89125fd70a} executeQuery: Code: 636. DB::Exception: The table structure cannot be extracted from a JSONEachRow format file. Error: Code: 27. DB::Exception: Cannot parse input: expected '{' before: '1,2,3]\n'. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02267_file_globs_schema_inference_test_f42digyf_data1.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 24.3.12.76.altinitystable) (from [::1]:35362) (comment: 02267_file_globs_schema_inference.sh) (in query: select * from file('02267_file_globs_schema_inference_test_f42digyf_data*.jsonl') settings schema_inference_use_cache_for_file=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x0000000011aa39ec 6. /build/src/Formats/ReadSchemaUtils.cpp:279: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cf49b 7. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 8. /build/src/Storages/StorageFile.cpp:943: DB::StorageFile::getTableStructureAndFormatFromFileImpl(std::optional, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c3712be 9. /build/src/Storages/StorageFile.cpp:956: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c37173c 10. /build/src/Storages/StorageFile.cpp:1080: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001c372950 11. /build/src/Storages/StorageFile.cpp:1021: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c373342 12. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 18. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 19. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 21. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:31:02.319649 [ 10901 ] {d4cafb39-8f76-46a5-b4b5-ef89125fd70a} TCPHandler: Code: 636. DB::Exception: The table structure cannot be extracted from a JSONEachRow format file. Error: Code: 27. DB::Exception: Cannot parse input: expected '{' before: '1,2,3]\n'. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02267_file_globs_schema_inference_test_f42digyf_data1.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x0000000011aa39ec 6. /build/src/Formats/ReadSchemaUtils.cpp:279: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cf49b 7. /build/src/Formats/ReadSchemaUtils.cpp:541: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d2306 8. /build/src/Storages/StorageFile.cpp:943: DB::StorageFile::getTableStructureAndFormatFromFileImpl(std::optional, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c3712be 9. /build/src/Storages/StorageFile.cpp:956: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr const&, std::optional const&) @ 0x000000001c37173c 10. /build/src/Storages/StorageFile.cpp:1080: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001c372950 11. /build/src/Storages/StorageFile.cpp:1021: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001c373342 12. /build/src/Storages/StorageFile.cpp:1025: DB::StorageFile::StorageFile(String const&, String const&, bool, DB::StorageFile::CommonArguments) @ 0x000000001c3737a8 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFile* std::construct_at[abi:v15000](DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c9ce 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::StorageFile*, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c8f9 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c85f 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, bool, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4c772 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String const&, String&&, bool&&, DB::StorageFile::CommonArguments&) @ 0x0000000018d4a29e 18. /build/src/TableFunctions/TableFunctionFile.cpp:88: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000018d49961 19. /build/src/TableFunctions/ITableFunctionFileLike.cpp:133: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d4ece0 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 21. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:31:03.305238 [ 10901 ] {20e25206-896e-4d8e-99fa-0855e2c13e20} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date: In scope SELECT makeDate32(CAST(1980, 'Date'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(1980 as Date), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.306100 [ 10901 ] {20e25206-896e-4d8e-99fa-0855e2c13e20} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date: In scope SELECT makeDate32(CAST(1980, 'Date'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.321622 [ 10901 ] {3e4d29df-031c-4262-ad61-806863e3cbd2} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date: In scope SELECT makeDate32(CAST(-1980, 'Date'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(-1980 as Date), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.322418 [ 10901 ] {3e4d29df-031c-4262-ad61-806863e3cbd2} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date: In scope SELECT makeDate32(CAST(-1980, 'Date'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.338725 [ 10901 ] {271008f2-ff39-4d8f-a9af-e6e9567b19a7} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date32: In scope SELECT makeDate32(CAST(1980, 'Date32'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(1980 as Date32), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.339645 [ 10901 ] {271008f2-ff39-4d8f-a9af-e6e9567b19a7} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date32: In scope SELECT makeDate32(CAST(1980, 'Date32'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.359235 [ 10901 ] {68800f09-cb24-4bc2-8462-114ab3e0064f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date32: In scope SELECT makeDate32(CAST(-1980, 'Date32'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(-1980 as Date32), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.360080 [ 10901 ] {68800f09-cb24-4bc2-8462-114ab3e0064f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got Date32: In scope SELECT makeDate32(CAST(-1980, 'Date32'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.377406 [ 10901 ] {f360d934-3a97-49f5-8907-a06abf9e789d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime: In scope SELECT makeDate32(CAST(1980, 'DateTime'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(1980 as DateTime), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.378213 [ 10901 ] {f360d934-3a97-49f5-8907-a06abf9e789d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime: In scope SELECT makeDate32(CAST(1980, 'DateTime'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.395070 [ 10901 ] {e7f0cd40-4f65-45da-aea1-cf2f571e716e} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime: In scope SELECT makeDate32(CAST(-1980, 'DateTime'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(-1980 as DateTime), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.395885 [ 10901 ] {e7f0cd40-4f65-45da-aea1-cf2f571e716e} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime: In scope SELECT makeDate32(CAST(-1980, 'DateTime'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.414952 [ 10901 ] {66ecc820-e45f-4e19-969a-fcf59d2d40db} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime64(3): In scope SELECT makeDate32(CAST(1980, 'DateTime64'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(1980 as DateTime64), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.415758 [ 10901 ] {66ecc820-e45f-4e19-969a-fcf59d2d40db} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime64(3): In scope SELECT makeDate32(CAST(1980, 'DateTime64'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.439532 [ 10901 ] {f654e5a5-9c1b-4bcc-a825-841380f69342} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime64(3): In scope SELECT makeDate32(CAST(-1980, 'DateTime64'), 10). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(cast(-1980 as DateTime64), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.440702 [ 10901 ] {f654e5a5-9c1b-4bcc-a825-841380f69342} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got DateTime64(3): In scope SELECT makeDate32(CAST(-1980, 'DateTime64'), 10). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.456120 [ 10901 ] {fa3c27f2-4a6b-4c65-831b-8c9e0f57f331} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('1980', '10'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32('1980', '10');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.456811 [ 10901 ] {fa3c27f2-4a6b-4c65-831b-8c9e0f57f331} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('1980', '10'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.475151 [ 10901 ] {caff66b3-13dd-408d-af1a-4dfcc9d9c013} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('-1980', 3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32('-1980', 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.476085 [ 10901 ] {caff66b3-13dd-408d-af1a-4dfcc9d9c013} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('-1980', 3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.492174 [ 10901 ] {3429d497-8315-4571-aaa3-c5d08ba9f79d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('aa', 3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32('aa', 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.492999 [ 10901 ] {3429d497-8315-4571-aaa3-c5d08ba9f79d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate32, expected Number, got String: In scope SELECT makeDate32('aa', 3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.508858 [ 10901 ] {5af75247-cde6-4a11-a839-372b917a8555} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'dayofyear' of function makeDate32, expected Number, got String: In scope SELECT makeDate32(1994, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35378) (comment: 02243_make_date32_mysql.sql) (in query: select makeDate32(1994, 'aa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:03.509651 [ 10901 ] {5af75247-cde6-4a11-a839-372b917a8555} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'dayofyear' of function makeDate32, expected Number, got String: In scope SELECT makeDate32(1994, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/makeDate.cpp:97: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f8547ce 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:31:26.054338 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx79_1324} executeQuery: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:54958) (in query: alter table tt drop part 'all_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4941: DB::MergeTreeData::checkPartCanBeDropped(String const&, std::shared_ptr) @ 0x000000001cc08966 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5163: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c22e 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:26.056088 [ 10876 ] {02421_truncate_isolation_with_mutations_test_xuqsbg1v_tx79_1324} DynamicQueryHandler: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4941: DB::MergeTreeData::checkPartCanBeDropped(String const&, std::shared_ptr) @ 0x000000001cc08966 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5163: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c22e 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:31:28.162494 [ 730 ] {1861cf5e-a476-4d4f-9b0b-0ff9217b001d} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to drop, may be you meant: ['test_index']. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53280) (comment: 02225_hints_for_indeices.sh) (in query: ALTER TABLE t DROP INDEX test_indes), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000cf38e0c 6. /build/src/Storages/AlterCommands.cpp:675: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c2496b3 7. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:28.164637 [ 730 ] {1861cf5e-a476-4d4f-9b0b-0ff9217b001d} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to drop, may be you meant: ['test_index']. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000cf38e0c 6. /build/src/Storages/AlterCommands.cpp:675: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c2496b3 7. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:31.897051 [ 10916 ] {a886e18a-8091-4d29-836f-c2a3c2666a2c} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to insert after, may be you meant: ['test_index']. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:53344) (comment: 02225_hints_for_indeices.sh) (in query: ALTER TABLE t ADD INDEX test_index1 n TYPE minmax GRANULARITY 4 AFTER test_indes), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000cf38e0c 6. /build/src/Storages/AlterCommands.cpp:648: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24921d 7. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:31.899385 [ 10916 ] {a886e18a-8091-4d29-836f-c2a3c2666a2c} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `test_indes` to insert after, may be you meant: ['test_index']. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000cf38e0c 6. /build/src/Storages/AlterCommands.cpp:648: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24921d 7. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.287030 [ 730 ] {7ae1793e-999a-4c0f-a8f1-f48416ed61cc} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:60596) (comment: 02192_comment_error.sh) (in query: select 42 #), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.412089 [ 10263 ] {93f3f2f2-c2da-42d0-aecd-c84d000ba78f} executeQuery: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE distributed_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.412156 [ 730 ] {7ae1793e-999a-4c0f-a8f1-f48416ed61cc} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:31:46.413199 [ 10263 ] {93f3f2f2-c2da-42d0-aecd-c84d000ba78f} TCPHandler: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.515336 [ 10263 ] {e4071948-dafe-452c-aae8-d14d935e732e} executeQuery: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE buffer_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.516433 [ 10263 ] {e4071948-dafe-452c-aae8-d14d935e732e} TCPHandler: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.593497 [ 10263 ] {ede72090-a964-4411-9122-dcfbd5248308} executeQuery: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE merge_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.594722 [ 10263 ] {ede72090-a964-4411-9122-dcfbd5248308} TCPHandler: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.680763 [ 10263 ] {8167e728-085c-48f7-8e01-6af484c49991} executeQuery: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE null_02184 MODIFY COLUMN dummy Int TTL now() + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.681466 [ 10263 ] {8167e728-085c-48f7-8e01-6af484c49991} TCPHandler: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.765457 [ 10263 ] {8db1f7e6-87ec-4b79-bff1-5bd6aba48258} executeQuery: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE file_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.766466 [ 10263 ] {8db1f7e6-87ec-4b79-bff1-5bd6aba48258} TCPHandler: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.851686 [ 10263 ] {9fc5c871-fefe-479f-afe2-5281bdc360e8} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE memory_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.852627 [ 10263 ] {9fc5c871-fefe-479f-afe2-5281bdc360e8} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.939120 [ 10263 ] {37166fc5-8111-47c3-b6bd-19c36a9a0b11} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:46.940216 [ 10263 ] {37166fc5-8111-47c3-b6bd-19c36a9a0b11} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.027710 [ 10263 ] {0216a6fa-9e08-466e-8ad2-c61285176aac} executeQuery: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE ting_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.028633 [ 10263 ] {0216a6fa-9e08-466e-8ad2-c61285176aac} TCPHandler: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.157368 [ 10900 ] {236da5ff-dd24-49f6-b1ad-027db0ffe7da} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:57662) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.157430 [ 10263 ] {3d07e9b7-abf7-4f50-9d13-23ced09f49ac} executeQuery: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57632) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE stripe_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.158123 [ 10900 ] {236da5ff-dd24-49f6-b1ad-027db0ffe7da} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.158377 [ 10263 ] {3d07e9b7-abf7-4f50-9d13-23ced09f49ac} TCPHandler: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1271: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24e7dc 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.176842 [ 10900 ] {768a8845-93ff-41c4-b6b9-970a14bf6210} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:57662) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.177764 [ 10900 ] {768a8845-93ff-41c4-b6b9-970a14bf6210} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.195959 [ 10900 ] {a177688f-0ef5-4dba-a933-076dbd7afa32} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:57662) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.196861 [ 10900 ] {a177688f-0ef5-4dba-a933-076dbd7afa32} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.216394 [ 10900 ] {229474f3-b668-417f-af62-34b1436f9ab0} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:57662) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(tuple(x)) --{serverError 1} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.217000 [ 10900 ] {229474f3-b668-417f-af62-34b1436f9ab0} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:56: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001de7f87e 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:119: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001de7f680 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:133: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001de80094 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:52: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001bc48b07 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:47.432956 [ 5772 ] {ac0f1735-11d5-4fd4-8b7c-a3387888744d} executeQuery: Code: 36. DB::Exception: No such attribute 'value': In scope SELECT dictGet('02183_flat_dictionary', 'value', 0). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57658) (comment: 02183_dictionary_no_attributes.sql) (in query: SELECT dictGet('02183_flat_dictionary', 'value', 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryStructure.cpp:184: DB::DictionaryStructure::getAttribute(String const&) const @ 0x000000001905d30b 7. /build/src/Functions/FunctionsExternalDictionaries.h:385: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c67f 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:47.433890 [ 5772 ] {ac0f1735-11d5-4fd4-8b7c-a3387888744d} TCPHandler: Code: 36. DB::Exception: No such attribute 'value': In scope SELECT dictGet('02183_flat_dictionary', 'value', 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryStructure.cpp:184: DB::DictionaryStructure::getAttribute(String const&) const @ 0x000000001905d30b 7. /build/src/Functions/FunctionsExternalDictionaries.h:385: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c67f 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:50.251642 [ 10916 ] {30a5beba-0eb1-4e99-9db1-ea6aa946e25e} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: In scope WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, CAST(value, type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:50980) (comment: 02179_map_cast_to_array.sql) (in query: WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, cast(value, type), cast(materialize(value), type);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt64, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ab08fd7 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab08aaf 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab037fb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02bd8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3654: DB::(anonymous namespace)::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad4015a 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3fec6 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3fe60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3fe00 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3fdab 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 2025.03.05 21:31:50.252748 [ 10916 ] {30a5beba-0eb1-4e99-9db1-ea6aa946e25e} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: In scope WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, CAST(value, type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt64, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ab08fd7 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab08aaf 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab037fb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02bd8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3654: DB::(anonymous namespace)::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad4015a 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3fec6 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3fe60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3fe00 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3fdab 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 2025.03.05 21:31:51.159873 [ 10900 ] {07c6c089-9107-449b-bb2d-3bef1218c897} executeQuery: Code: 46. DB::Exception: Function with name 'sumIF' does not exist. In scope SELECT sumIF(1, 0). (UNKNOWN_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:51010) (comment: 02177_sum_if_not_found.sql) (in query: SELECT sumIF(1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:31:51.160882 [ 10900 ] {07c6c089-9107-449b-bb2d-3bef1218c897} TCPHandler: Code: 46. DB::Exception: Function with name 'sumIF' does not exist. In scope SELECT sumIF(1, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:31:51.406963 [ 10900 ] {35c2f61f-6cb1-441b-822e-ab5e2ebd2c60} executeQuery: Code: 46. DB::Exception: Function with name 'sumIF' does not exist. In scope SELECT t, sumIF(n, 0) FROM data GROUP BY t. (UNKNOWN_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:51010) (comment: 02177_sum_if_not_found.sql) (in query: CREATE TABLE agg ENGINE = AggregatingMergeTree ORDER BY tuple() SETTINGS index_granularity = 8363, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = true, max_file_name_length = 41, min_bytes_for_full_part_storage = 286911107, compact_parts_max_bytes_to_buffer = 372008185, compact_parts_max_granules_to_buffer = 256, compact_parts_merge_max_bytes_to_prefetch_part = 31110771, merge_max_block_size = 4520, old_parts_lifetime = 287., prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 18103287, concurrent_part_removal_threshold = 100, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = false, marks_compress_block_size = 84225, primary_key_compress_block_size = 74254 AS SELECT t, sumIF(n, 0) FROM data GROUP BY t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:197: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b507079 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:810: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00f35a 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 20. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 21. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 22. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 23. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:51.408033 [ 10900 ] {35c2f61f-6cb1-441b-822e-ab5e2ebd2c60} TCPHandler: Code: 46. DB::Exception: Function with name 'sumIF' does not exist. In scope SELECT t, sumIF(n, 0) FROM data GROUP BY t. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:197: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b507079 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:810: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00f35a 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 20. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 21. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 22. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 23. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 29. ? @ 0x00007ff3d325bac3 30. ? @ 0x00007ff3d32ed850 2025.03.05 21:31:55.244403 [ 5772 ] {2c52d630-84a4-4b31-b200-08fba5547dd7} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): In scope SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16677 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:55.245406 [ 5772 ] {2c52d630-84a4-4b31-b200-08fba5547dd7} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): In scope SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16677 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.190111 [ 5772 ] {d6315fd3-6339-4e27-91a3-712d01931115} executeQuery: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: In scope SELECT mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121155e9 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:31:57.191278 [ 5772 ] {d6315fd3-6339-4e27-91a3-712d01931115} TCPHandler: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: In scope SELECT mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121155e9 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:31:57.398220 [ 5772 ] {9dc11909-3208-498c-b6ab-b2baeb355a8b} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): In scope SELECT mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16518 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.399520 [ 5772 ] {9dc11909-3208-498c-b6ab-b2baeb355a8b} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): In scope SELECT mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16518 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.431049 [ 5772 ] {88fc9798-5b4a-4f05-a746-70c77d8ee4e5} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): In scope SELECT mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16518 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.432325 [ 5772 ] {88fc9798-5b4a-4f05-a746-70c77d8ee4e5} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): In scope SELECT mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:35: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16518 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.629470 [ 5772 ] {fbcf0141-638a-427c-9246-a20e8eedc3ba} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: In scope SELECT mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:44: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16768 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 14. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 15. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 16. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 17. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 18. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:31:57.630674 [ 5772 ] {fbcf0141-638a-427c-9246-a20e8eedc3ba} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: In scope SELECT mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:44: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16768 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 14. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 15. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 16. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 17. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 18. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:31:57.657037 [ 5772 ] {794b8bf5-36cd-48eb-9e21-c585d752b719} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): In scope SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16677 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.657860 [ 5772 ] {794b8bf5-36cd-48eb-9e21-c585d752b719} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): In scope SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:39: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x0000000019f16677 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], DB::DataTypeMap*>(DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c4e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::DataTypeMap*, std::shared_ptr&&) @ 0x000000001208c461 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, std::shared_ptr&&) @ 0x000000001208c3e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000001208c317 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(std::shared_ptr&&) @ 0x000000001208c2c6 12. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:171: DB::MapToNestedAdapter::wrapType(std::shared_ptr) @ 0x0000000012119579 13. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000121156e5 14. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 15. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 16. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 17. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:57.882495 [ 5772 ] {137a6662-531c-46e3-819a-54802c6334c6} executeQuery: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:114: DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x0000000012119720 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:59: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121157c1 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:57.883858 [ 5772 ] {137a6662-531c-46e3-819a-54802c6334c6} TCPHandler: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:114: DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x0000000012119720 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:59: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121157c1 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:58.113287 [ 5772 ] {2cc924bf-73dd-4734-8e3b-a12590eeefbb} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/FunctionArrayMapped.h:116: DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012118844 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:61: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121157d2 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:58.114433 [ 5772 ] {2cc924bf-73dd-4734-8e3b-a12590eeefbb} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/FunctionArrayMapped.h:116: DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000012118844 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:61: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121157d2 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:58.338631 [ 5772 ] {9f104ab1-2cd5-4ac0-b060-1c1aa1b0b58d} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: In scope (x, y) -> (x, x + 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x+1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:58.339789 [ 5772 ] {9f104ab1-2cd5-4ac0-b060-1c1aa1b0b58d} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: In scope (x, y) -> (x, x + 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:58.555789 [ 5772 ] {930395a5-ad5a-41c0-8db4-5fa8dae89faa} executeQuery: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: In scope SELECT mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d009 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:31:58.556758 [ 5772 ] {930395a5-ad5a-41c0-8db4-5fa8dae89faa} TCPHandler: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: In scope SELECT mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d009 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:31:58.775922 [ 5772 ] {6ca92a2c-8c0f-4b47-ae82-e8339e144280} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: In scope SELECT mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (toInt32(x)), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.777056 [ 5772 ] {6ca92a2c-8c0f-4b47-ae82-e8339e144280} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: In scope SELECT mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.801298 [ 5772 ] {3ec1246f-71b9-4443-aad4-c17362c50032} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: In scope SELECT mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.802326 [ 5772 ] {3ec1246f-71b9-4443-aad4-c17362c50032} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: In scope SELECT mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.828218 [ 5772 ] {7dfbabad-ead1-4f2d-aa8d-7f329942b815} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): In scope SELECT mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.829188 [ 5772 ] {7dfbabad-ead1-4f2d-aa8d-7f329942b815} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): In scope SELECT mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.854984 [ 5772 ] {11cfa54b-a641-4068-a643-15ec8be31d9e} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): In scope SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:58.856030 [ 5772 ] {11cfa54b-a641-4068-a643-15ec8be31d9e} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): In scope SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:236: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210f933 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001210d0c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:59.069326 [ 5772 ] {c1e6b9ac-db9c-4e88-a923-0c85b9f95d89} executeQuery: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:114: DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x0000000012114640 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:59: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001210d1e1 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.070333 [ 5772 ] {c1e6b9ac-db9c-4e88-a923-0c85b9f95d89} TCPHandler: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:114: DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x0000000012114640 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:59: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001210d1e1 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.273081 [ 5772 ] {c432bc9e-6c51-4655-a340-9c37b15a5684} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/FunctionArrayMapped.h:116: DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121102c4 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:61: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001210d1f2 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.274119 [ 5772 ] {c432bc9e-6c51-4655-a340-9c37b15a5684} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000010a72608 6. /build/src/Functions/array/FunctionArrayMapped.h:116: DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000121102c4 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:61: DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000001210d1f2 8. /build/src/Functions/IFunctionAdaptors.h:153: DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x000000000af686cd 9. /build/src/Functions/IFunction.cpp:490: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x00000000190642fb 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6005: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bafda 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.300237 [ 5772 ] {ff6e8dd0-26af-41df-b64d-05064c5de8a0} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: In scope (x, y) -> (x, x + 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:59.301027 [ 5772 ] {ff6e8dd0-26af-41df-b64d-05064c5de8a0} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: In scope (x, y) -> (x, x + 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001124a009 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010f5b0af 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6050: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bb73f 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:31:59.475490 [ 5772 ] {a2fd2049-c444-4402-8175-20224b4ffde9} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: In scope SELECT mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapConcat([1, 2], map(1, 2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x0000000010ef8b2c 6. /build/src/DataTypes/getLeastSupertype.cpp:68: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000019fb6a66 7. /build/src/DataTypes/getLeastSupertype.cpp:343: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fb9dd9 8. /build/src/DataTypes/getLeastSupertype.cpp:299: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fb991d 9. /build/src/Functions/array/arrayConcat.cpp:35: DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012194665 10. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 11. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:83: DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001208bba3 12. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 13. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 14. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 15. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:31:59.476293 [ 5772 ] {a2fd2049-c444-4402-8175-20224b4ffde9} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: In scope SELECT mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x0000000010ef8b2c 6. /build/src/DataTypes/getLeastSupertype.cpp:68: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000019fb6a66 7. /build/src/DataTypes/getLeastSupertype.cpp:343: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fb9dd9 8. /build/src/DataTypes/getLeastSupertype.cpp:299: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fb991d 9. /build/src/Functions/array/arrayConcat.cpp:35: DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012194665 10. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 11. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:83: DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001208bba3 12. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 13. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 14. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 15. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:31:59.659243 [ 5772 ] {d1c6b5d2-2b0e-4111-826e-acd2869fd9f2} executeQuery: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): In scope SELECT mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapSort(map(1, 2), map(3, 4));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012126b8a 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012124643 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:59.660178 [ 5772 ] {d1c6b5d2-2b0e-4111-826e-acd2869fd9f2} TCPHandler: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): In scope SELECT mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012126b8a 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012124643 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:31:59.674558 [ 5772 ] {8a8e020d-f4e2-4cbb-8cc3-8064a35c9820} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: In scope SELECT mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.675273 [ 5772 ] {8a8e020d-f4e2-4cbb-8cc3-8064a35c9820} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: In scope SELECT mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.698896 [ 5772 ] {4e4081df-bf07-45f6-8f66-a852d46d6c36} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: In scope SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:51060) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:31:59.699945 [ 5772 ] {4e4081df-bf07-45f6-8f66-a852d46d6c36} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: In scope SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:32:29.876933 [ 10901 ] {80e7b90a-a913-4211-871f-17c52d3c0bca} executeQuery: Code: 53. DB::Exception: Function dictGetString dictionary attribute has different type Nullable(String) expected String: In scope SELECT dictGetString('02125_test_dictionary', 'value', toUInt64(0)). (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:36062) (comment: 02125_dict_get_type_nullable_fix.sql) (in query: SELECT dictGetString('02125_test_dictionary', 'value', toUInt64(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsExternalDictionaries.h:855: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b035728 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:32:29.877770 [ 10901 ] {80e7b90a-a913-4211-871f-17c52d3c0bca} TCPHandler: Code: 53. DB::Exception: Function dictGetString dictionary attribute has different type Nullable(String) expected String: In scope SELECT dictGetString('02125_test_dictionary', 'value', toUInt64(0)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsExternalDictionaries.h:855: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b035728 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:02.755881 [ 15148 ] {a8cacce6-1efd-4add-96a1-06771b1c5ec8} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:57104) (comment: 02119_sumcount.sql) (in query: -- Other types SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT 'a'::String AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:88: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c715d4 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:34:02.756936 [ 15148 ] {a8cacce6-1efd-4add-96a1-06771b1c5ec8} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:88: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c715d4 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:34:02.781655 [ 15148 ] {4439ed34-7192-47b9-84be-25cf95b638b5} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:57104) (comment: 02119_sumcount.sql) (in query: SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT now()::DateTime AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:88: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c715d4 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:34:02.782673 [ 15148 ] {4439ed34-7192-47b9-84be-25cf95b638b5} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:88: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c715d4 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:34:20.556827 [ 5772 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 104). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001d48a953 6. /build/src/Server/TCPHandler.cpp:1433: DB::TCPHandler::receiveHello() @ 0x000000001d475549 7. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 8. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 14. ? @ 0x00007ff3d325bac3 15. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:20.560118 [ 5772 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 104). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001d48a953 6. /build/src/Server/TCPHandler.cpp:1433: DB::TCPHandler::receiveHello() @ 0x000000001d475549 7. /build/src/Server/TCPHandler.cpp:271: DB::TCPHandler::runImpl() @ 0x000000001d46bb2a 8. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 14. ? @ 0x00007ff3d325bac3 15. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:20.726915 [ 10916 ] {108d5c3e-6494-4d2f-9135-27743ef71c5b} executeQuery: Code: 660. DB::Exception: Unable to connect to HDFS: HdfsRpcException: RPC channel to "localhost:9000" got protocol mismatch: RPC channel cannot parse response header. (HDFS_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:51214) (comment: 02113_hdfs_assert.sh) (in query: SELECT * FROM hdfs('hdfs://localhost:9000/data.csv', 'CSV', 'x UInt32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/HDFS/HDFSCommon.cpp:173: DB::createHDFSFS(hdfsBuilder*) @ 0x00000000193a3647 7. /build/src/Storages/HDFS/StorageHDFS.cpp:548: DB::HDFSSource::URISIterator::Impl::Impl(std::vector> const&, DB::ActionsDAG::Node const*, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001939804e 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HDFSSource::URISIterator::Impl* std::construct_at[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::HDFSSource::URISIterator::Impl*>(DB::HDFSSource::URISIterator::Impl*, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019397abc 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void, void>(std::allocator&, DB::HDFSSource::URISIterator::Impl*, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019397879 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&>(std::allocator, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001939755f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void>(std::allocator const&, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x00000000193973d2 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void>(std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001938d7be 13. /build/src/Storages/HDFS/StorageHDFS.cpp:597: DB::HDFSSource::URISIterator::URISIterator(std::vector> const&, DB::ActionsDAG::Node const*, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019381c79 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HDFSSource::URISIterator* std::construct_at[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, DB::HDFSSource::URISIterator*>(DB::HDFSSource::URISIterator*, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939cf3c 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void, void>(std::allocator&, DB::HDFSSource::URISIterator*, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939ccf9 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&>(std::allocator, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939c9df 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void>(std::allocator const&, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939c852 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void>(std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001938ea5e 19. /build/src/Storages/HDFS/StorageHDFS.cpp:1023: DB::ReadFromHDFS::createIterator(DB::ActionsDAG::Node const*) @ 0x000000001938472d 20. /build/src/Storages/HDFS/StorageHDFS.cpp:967: DB::ReadFromHDFS::applyFilters(DB::ActionDAGNodes) @ 0x00000000193843ef 21. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 22. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 23. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:34:20.729027 [ 10916 ] {108d5c3e-6494-4d2f-9135-27743ef71c5b} TCPHandler: Code: 660. DB::Exception: Unable to connect to HDFS: HdfsRpcException: RPC channel to "localhost:9000" got protocol mismatch: RPC channel cannot parse response header. (HDFS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/HDFS/HDFSCommon.cpp:173: DB::createHDFSFS(hdfsBuilder*) @ 0x00000000193a3647 7. /build/src/Storages/HDFS/StorageHDFS.cpp:548: DB::HDFSSource::URISIterator::Impl::Impl(std::vector> const&, DB::ActionsDAG::Node const*, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001939804e 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HDFSSource::URISIterator::Impl* std::construct_at[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, DB::HDFSSource::URISIterator::Impl*>(DB::HDFSSource::URISIterator::Impl*, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019397abc 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void, void>(std::allocator&, DB::HDFSSource::URISIterator::Impl*, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019397879 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&>(std::allocator, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001939755f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void>(std::allocator const&, std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x00000000193973d2 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&, void>(std::vector> const&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x000000001938d7be 13. /build/src/Storages/HDFS/StorageHDFS.cpp:597: DB::HDFSSource::URISIterator::URISIterator(std::vector> const&, DB::ActionsDAG::Node const*, DB::NamesAndTypesList const&, std::shared_ptr const&) @ 0x0000000019381c79 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HDFSSource::URISIterator* std::construct_at[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, DB::HDFSSource::URISIterator*>(DB::HDFSSource::URISIterator*, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939cf3c 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void, void>(std::allocator&, DB::HDFSSource::URISIterator*, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939ccf9 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&>(std::allocator, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939c9df 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void>(std::allocator const&, std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001939c852 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList, std::shared_ptr&, void>(std::vector>&, DB::ActionsDAG::Node const*&, DB::NamesAndTypesList&&, std::shared_ptr&) @ 0x000000001938ea5e 19. /build/src/Storages/HDFS/StorageHDFS.cpp:1023: DB::ReadFromHDFS::createIterator(DB::ActionsDAG::Node const*) @ 0x000000001938472d 20. /build/src/Storages/HDFS/StorageHDFS.cpp:967: DB::ReadFromHDFS::applyFilters(DB::ActionDAGNodes) @ 0x00000000193843ef 21. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 22. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 23. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:34:21.483185 [ 10908 ] {1f019409-d78c-402f-a0a2-07c39d43aa29} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51254) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1552: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252ab5 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:21.484383 [ 10908 ] {1f019409-d78c-402f-a0a2-07c39d43aa29} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1552: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252ab5 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:21.699704 [ 10908 ] {332e7d53-6243-448f-971a-6bc071868211} executeQuery: Code: 141. DB::Exception: Storage test_p12xcqn9.t_remove_sample_by doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 24.3.12.76.altinitystable) (from [::1]:51254) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:34:21.700641 [ 10908 ] {332e7d53-6243-448f-971a-6bc071868211} TCPHandler: Code: 141. DB::Exception: Storage test_p12xcqn9.t_remove_sample_by doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:34:22.170510 [ 10908 ] {e11f3d44-cb69-41d6-90b2-edab0ca83d6c} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51254) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1552: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252ab5 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:22.171480 [ 10908 ] {e11f3d44-cb69-41d6-90b2-edab0ca83d6c} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1552: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252ab5 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:22.685433 [ 10908 ] {858403b9-20e3-4190-b34f-1e62a243c582} executeQuery: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 24.3.12.76.altinitystable) (from [::1]:51254) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:316: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001cd09130 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1653: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d6c3 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:22.686451 [ 10908 ] {858403b9-20e3-4190-b34f-1e62a243c582} TCPHandler: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:316: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001cd09130 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1653: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5d6c3 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:25.200868 [ 10908 ] {047efd92-e7b5-489b-9cf3-029ae1c4fbfe} executeQuery: Code: 1. DB::Exception: Set `store_polygon_key_column` setting in dictionary configuration to true to support reading from PolygonDictionary. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:51284) (comment: 02097_polygon_dictionary_store_key.sql) (in query: SELECT * FROM polygons_test_dictionary_no_option;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/PolygonDictionary.cpp:209: DB::IPolygonDictionary::read(std::vector> const&, unsigned long, unsigned long) const @ 0x000000001647d65e 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c327465 8. /build/src/Storages/IStorage.cpp:152: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c2a8501 9. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 10. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 11. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 14. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:25.202091 [ 10908 ] {047efd92-e7b5-489b-9cf3-029ae1c4fbfe} TCPHandler: Code: 1. DB::Exception: Set `store_polygon_key_column` setting in dictionary configuration to true to support reading from PolygonDictionary. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/PolygonDictionary.cpp:209: DB::IPolygonDictionary::read(std::vector> const&, unsigned long, unsigned long) const @ 0x000000001647d65e 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c327465 8. /build/src/Storages/IStorage.cpp:152: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c2a8501 9. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 10. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 11. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 12. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 14. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:34:39.833108 [ 15144 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2025.03.05 21:34:39.848809 [ 15144 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Access/IAccessStorage.cpp:763: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001962bf5b 7. /build/src/Access/IAccessStorage.cpp:537: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962bc1d 8. /build/src/Access/IAccessStorage.cpp:511: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001962b9d3 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x00000000196c028a 10. /build/src/Access/IAccessStorage.cpp:499: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001962b908 11. /build/src/Access/AccessControl.cpp:600: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf45a 12. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 13. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 14. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:39.849888 [ 15144 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Access/AccessControl.cpp:625: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, String const&) const @ 0x00000000194cf8f9 7. /build/src/Interpreters/Session.cpp:352: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001b8b1947 8. /build/src/Server/HTTPHandler.cpp:504: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001d3d56c7 9. /build/src/Server/HTTPHandler.cpp:550: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d651e 10. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:41.129851 [ 15144 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database no_such_database_could_exist does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:517: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001a66ff01 7. /build/src/Interpreters/Context.cpp:2301: DB::Context::setCurrentDatabaseWithLock(String const&, std::lock_guard const&) @ 0x000000001a542c8d 8. /build/src/Interpreters/Context.cpp:2309: DB::Context::setCurrentDatabase(String const&) @ 0x000000001a54bbdd 9. /build/src/Server/TCPHandler.cpp:289: DB::TCPHandler::runImpl() @ 0x000000001d46bd2b 10. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:41.137015 [ 15146 ] {} ServerErrorHandler: Code: 81. DB::Exception: Database no_such_database_could_exist does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:517: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001a66ff01 7. /build/src/Interpreters/Context.cpp:2301: DB::Context::setCurrentDatabaseWithLock(String const&, std::lock_guard const&) @ 0x000000001a542c8d 8. /build/src/Interpreters/Context.cpp:2309: DB::Context::setCurrentDatabase(String const&) @ 0x000000001a54bbdd 9. /build/src/Server/TCPHandler.cpp:289: DB::TCPHandler::runImpl() @ 0x000000001d46bd2b 10. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:34:45.073579 [ 15147 ] {3a56fce4-5d95-472a-9c53-32d7eecbe9e9} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 24.3.12.76.altinitystable) (from [::1]:34352) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIf(n, last > 50) FILTER(WHERE last>50) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:45.074615 [ 15147 ] {3a56fce4-5d95-472a-9c53-32d7eecbe9e9} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:45.337706 [ 15147 ] {f74c4c21-2cdd-4209-b0e1-f7684b2ce4c3} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 24.3.12.76.altinitystable) (from [::1]:34352) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:45.338788 [ 15147 ] {f74c4c21-2cdd-4209-b0e1-f7684b2ce4c3} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:45.371660 [ 15147 ] {bcabcb00-361f-4562-b1e6-b958b6d986d9} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 24.3.12.76.altinitystable) (from [::1]:34352) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5, 1) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:45.372791 [ 15147 ] {bcabcb00-361f-4562-b1e6-b958b6d986d9} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:240: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9cfe 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:56.842978 [ 15148 ] {980789b4-c170-40b4-a0b5-58fb0c97daa4} executeQuery: Code: 43. DB::Exception: Nested type LowCardinality(Nullable(String)) cannot be inside Nullable type: In scope SELECT JSONExtract(toNullable('{"string_value":null}'), 'string_value', 'LowCardinality(Nullable(String))') AS x, toTypeName(x). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55632) (comment: 02013_json_function_null_column.sql) (in query: SELECT JSONExtract(toNullable('{"string_value":null}'), 'string_value', 'LowCardinality(Nullable(String))') as x, toTypeName(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b497a18 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:56.844139 [ 15148 ] {980789b4-c170-40b4-a0b5-58fb0c97daa4} TCPHandler: Code: 43. DB::Exception: Nested type LowCardinality(Nullable(String)) cannot be inside Nullable type: In scope SELECT JSONExtract(toNullable('{"string_value":null}'), 'string_value', 'LowCardinality(Nullable(String))') AS x, toTypeName(x). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b497a18 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:57.308669 [ 15148 ] {092c4bb7-50d1-482f-a305-cc2b2f4b1bbb} executeQuery: Code: 43. DB::Exception: The argument 2 of function JSONExtractInt should be a string specifying key or an integer specifying index, illegal type: Nullable(UInt8): In scope SELECT JSONExtractInt('[1]', toLowCardinality(toNullable(1))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55632) (comment: 02013_json_function_null_column.sql) (in query: SELECT JSONExtractInt('[1]', toLowCardinality(toNullable(1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsJSON.h:200: DB::FunctionJSONHelpers::prepareMoves(char const*, std::vector> const&, unsigned long, unsigned long) @ 0x000000000b45c1c9 7. /build/src/Functions/FunctionsJSON.h:108: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x000000000b47ebe2 8. /build/src/Functions/FunctionsJSON.h:371: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b47e64a 9. /build/src/Functions/FunctionsJSON.h:358: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b47e501 10. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:34:57.309499 [ 15148 ] {092c4bb7-50d1-482f-a305-cc2b2f4b1bbb} TCPHandler: Code: 43. DB::Exception: The argument 2 of function JSONExtractInt should be a string specifying key or an integer specifying index, illegal type: Nullable(UInt8): In scope SELECT JSONExtractInt('[1]', toLowCardinality(toNullable(1))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionsJSON.h:200: DB::FunctionJSONHelpers::prepareMoves(char const*, std::vector> const&, unsigned long, unsigned long) @ 0x000000000b45c1c9 7. /build/src/Functions/FunctionsJSON.h:108: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x000000000b47ebe2 8. /build/src/Functions/FunctionsJSON.h:371: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b47e64a 9. /build/src/Functions/FunctionsJSON.h:358: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b47e501 10. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:34:57.502982 [ 15148 ] {93f0b257-8f24-4e53-85c7-10c1df2374f8} executeQuery: Code: 43. DB::Exception: Nested type Array(String) cannot be inside Nullable type: In scope SELECT JSONExtractArrayRaw('["1"]', toNullable(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55632) (comment: 02013_json_function_null_column.sql) (in query: SELECT JSONExtractArrayRaw('["1"]', toNullable(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4dfe18 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:57.504029 [ 15148 ] {93f0b257-8f24-4e53-85c7-10c1df2374f8} TCPHandler: Code: 43. DB::Exception: Nested type Array(String) cannot be inside Nullable type: In scope SELECT JSONExtractArrayRaw('["1"]', toNullable(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4dfe18 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:57.698119 [ 15148 ] {aa793676-3726-4a05-90c2-673c38d3b5ff} executeQuery: Code: 43. DB::Exception: Nested type Array(Tuple(String, String)) cannot be inside Nullable type: In scope SELECT JSONExtractKeysAndValuesRaw('["1"]', toNullable(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:55632) (comment: 02013_json_function_null_column.sql) (in query: SELECT JSONExtractKeysAndValuesRaw('["1"]', toNullable(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4e4898 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:57.699114 [ 15148 ] {aa793676-3726-4a05-90c2-673c38d3b5ff} TCPHandler: Code: 43. DB::Exception: Nested type Array(Tuple(String, String)) cannot be inside Nullable type: In scope SELECT JSONExtractKeysAndValuesRaw('["1"]', toNullable(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Functions/FunctionsJSON.h:468: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4e4898 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:34:57.911317 [ 15148 ] {7b10b5e0-e9e3-4cc5-b7e0-50475aa3702f} executeQuery: Code: 44. DB::Exception: The last argument of function JSONExtractKeysAndValues should be a constant string specifying the values' data type, illegal value: toNullable(1): In scope SELECT JSONExtractKeysAndValues('["1"]', toNullable(1)). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:55632) (comment: 02013_json_function_null_column.sql) (in query: SELECT JSONExtractKeysAndValues('["1"]', toNullable(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/FunctionsJSON.h:1379: DB::JSONExtractKeysAndValuesImpl::getReturnType(char const*, std::vector> const&) @ 0x000000000b4d525e 7. /build/src/Functions/FunctionsJSON.h:460: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4d4aac 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:34:57.912507 [ 15148 ] {7b10b5e0-e9e3-4cc5-b7e0-50475aa3702f} TCPHandler: Code: 44. DB::Exception: The last argument of function JSONExtractKeysAndValues should be a constant string specifying the values' data type, illegal value: toNullable(1): In scope SELECT JSONExtractKeysAndValues('["1"]', toNullable(1)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/FunctionsJSON.h:1379: DB::JSONExtractKeysAndValuesImpl::getReturnType(char const*, std::vector> const&) @ 0x000000000b4d525e 7. /build/src/Functions/FunctionsJSON.h:460: DB::JSONOverloadResolver::build(std::vector> const&) const @ 0x000000000b4d4aac 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:35:01.257406 [ 15148 ] {8fa50028-92c0-4295-bcdc-d1d141bdeb4c} executeQuery: Code: 60. DB::Exception: Table test_13bowc7d.async_inserts1 does not exist. Maybe you meant test_13bowc7d.async_inserts?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:55506) (comment: 02015_async_inserts_6.sh) (in query: INSERT INTO async_inserts1 FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:305: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e20fa 11. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 12. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:01.259513 [ 15148 ] {8fa50028-92c0-4295-bcdc-d1d141bdeb4c} DynamicQueryHandler: Code: 60. DB::Exception: Table test_13bowc7d.async_inserts1 does not exist. Maybe you meant test_13bowc7d.async_inserts?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:305: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e20fa 11. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 12. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:01.404853 [ 15148 ] {8c29b82d-92c4-4300-96f3-5c6214515df9} executeQuery: Code: 73. DB::Exception: Unknown input format BadFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:55518) (comment: 02015_async_inserts_6.sh) (in query: INSERT INTO async_inserts FORMAT BadFormat ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:309: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e2290 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 8. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:01.406497 [ 15148 ] {8c29b82d-92c4-4300-96f3-5c6214515df9} DynamicQueryHandler: Code: 73. DB::Exception: Unknown input format BadFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:309: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e2290 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 8. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:01.433776 [ 15148 ] {faeac692-198c-4c72-9f52-b98e48a533c6} executeQuery: Code: 73. DB::Exception: Unknown input format Pretty. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:55524) (comment: 02015_async_inserts_6.sh) (in query: INSERT INTO async_inserts FORMAT Pretty ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:309: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e2290 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 8. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:01.435583 [ 15148 ] {faeac692-198c-4c72-9f52-b98e48a533c6} DynamicQueryHandler: Code: 73. DB::Exception: Unknown input format Pretty. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/AsynchronousInsertQueue.cpp:309: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e2290 7. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 8. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:01.587983 [ 15148 ] {8bb85e44-1b5a-44a1-a0bb-3e42be5e8f2b} executeQuery: Code: 16. DB::Exception: No such column a in table test_13bowc7d.async_inserts (2194385f-af2b-4463-9308-a83f2c7dee26). (NO_SUCH_COLUMN_IN_TABLE) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:55540) (comment: 02015_async_inserts_6.sh) (in query: INSERT INTO async_inserts (id, a) FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:213: DB::InterpreterInsertQuery::getSampleBlockImpl(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool) @ 0x000000001b428fea 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x000000001b428980 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:306: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e21c6 9. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 10. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 11. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:01.589734 [ 15148 ] {8bb85e44-1b5a-44a1-a0bb-3e42be5e8f2b} DynamicQueryHandler: Code: 16. DB::Exception: No such column a in table test_13bowc7d.async_inserts (2194385f-af2b-4463-9308-a83f2c7dee26). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:213: DB::InterpreterInsertQuery::getSampleBlockImpl(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool) @ 0x000000001b428fea 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x000000001b428980 8. /build/src/Interpreters/AsynchronousInsertQueue.cpp:306: DB::AsynchronousInsertQueue::preprocessInsertQuery(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a4e21c6 9. /build/src/Interpreters/AsynchronousInsertQueue.cpp:321: DB::AsynchronousInsertQueue::pushQueryWithInlinedData(std::shared_ptr, std::shared_ptr) @ 0x000000001a4e253b 10. /build/src/Interpreters/executeQuery.cpp:1051: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbafa93 11. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:07.389115 [ 10901 ] {0dfa75e1-1cc0-4a68-8092-3a8b932d6b34} executeQuery: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFC(value). (CANNOT_NORMALIZE_STRING) (version 24.3.12.76.altinitystable) (from [::1]:44142) (comment: 02011_normalize_utf8.sql) (in query: SELECT char(228) AS value, normalizeUTF8NFC(value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a771f7 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFCImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a76946 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.390006 [ 10901 ] {0dfa75e1-1cc0-4a68-8092-3a8b932d6b34} TCPHandler: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFC(value). (CANNOT_NORMALIZE_STRING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a771f7 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFCImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a76946 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.485659 [ 10916 ] {159cac24-0d5b-4d05-a4e0-51a876482bf8} Context: Server has databases (for example `test_ku8wfszd`) with Ordinary engine, which was deprecated. To convert this database to the new Atomic engine, create a flag /var/lib/clickhouse/flags/convert_ordinary_to_atomic and make sure that ClickHouse has write permission for it. Example: sudo touch '/var/lib/clickhouse/flags/convert_ordinary_to_atomic' && sudo chmod 666 '/var/lib/clickhouse/flags/convert_ordinary_to_atomic' 2025.03.05 21:35:07.555563 [ 10901 ] {5765e607-abad-4f4d-97d5-f9367079825d} executeQuery: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFD(value). (CANNOT_NORMALIZE_STRING) (version 24.3.12.76.altinitystable) (from [::1]:44142) (comment: 02011_normalize_utf8.sql) (in query: SELECT char(228) AS value, normalizeUTF8NFD(value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a78d73 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFDImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78535 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.556680 [ 10901 ] {5765e607-abad-4f4d-97d5-f9367079825d} TCPHandler: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFD(value). (CANNOT_NORMALIZE_STRING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a78d73 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFDImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a78535 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.718490 [ 10901 ] {571a34cb-9992-469d-9c55-b5c370017cca} executeQuery: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFKC(value). (CANNOT_NORMALIZE_STRING) (version 24.3.12.76.altinitystable) (from [::1]:44142) (comment: 02011_normalize_utf8.sql) (in query: SELECT char(228) AS value, normalizeUTF8NFKC(value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a7a873 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKCImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7a035 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.719586 [ 10901 ] {571a34cb-9992-469d-9c55-b5c370017cca} TCPHandler: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFKC(value). (CANNOT_NORMALIZE_STRING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a7a873 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKCImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7a035 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.885292 [ 10901 ] {061176a9-665b-4f9c-8702-57f55c8ea6a4} executeQuery: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFKD(value). (CANNOT_NORMALIZE_STRING) (version 24.3.12.76.altinitystable) (from [::1]:44142) (comment: 02011_normalize_utf8.sql) (in query: SELECT char(228) AS value, normalizeUTF8NFKD(value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a7c373 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKDImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7bb35 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:07.886456 [ 10901 ] {061176a9-665b-4f9c-8702-57f55c8ea6a4} TCPHandler: Code: 621. DB::Exception: Normalization failed (strFromUTF8): U_INVALID_CHAR_FOUND: In scope SELECT char(228) AS value, normalizeUTF8NFKD(value). (CANNOT_NORMALIZE_STRING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Functions/normalizeString.cpp:120: DB::(anonymous namespace)::NormalizeUTF8Impl::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000010a7c373 7. /build/src/Functions/FunctionStringToString.h:68: DB::FunctionStringToString, DB::(anonymous namespace)::NormalizeNFKDImpl, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010a7bb35 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:09.101687 [ 10901 ] {79507ac9-6656-4969-af9f-c54d7accb934} executeQuery: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:39270) (comment: 02010_array_index_bad_cast.sql) (in query: SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000120fae74 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012094f66 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x0000000012d513aa 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x0000000012d4f89c 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x0000000012d4eabe 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000012d4e561 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012d4de80 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:35:09.103906 [ 10901 ] {79507ac9-6656-4969-af9f-c54d7accb934} TCPHandler: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000120fae74 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012094f66 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x0000000012d513aa 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x0000000012d4f89c 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x0000000012d4eabe 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x0000000012d4e561 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012d4de80 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:35:10.692491 [ 10916 ] {116da34b-5dad-4aaf-8d73-77cd888b6a1e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:39260). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:39260) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:10.705933 [ 10916 ] {116da34b-5dad-4aaf-8d73-77cd888b6a1e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:39260). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:10.706529 [ 10916 ] {116da34b-5dad-4aaf-8d73-77cd888b6a1e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:39260). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:10.707322 [ 10916 ] {116da34b-5dad-4aaf-8d73-77cd888b6a1e} TCPHandler: Client has gone away. 2025.03.05 21:35:11.690230 [ 10901 ] {8ff29170-2072-4d37-bfc1-fee0249f480b} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:39324) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(arrayJoin([0, 1]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/evaluateConstantExpression.cpp:103: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x000000001bb7c9a3 7. /build/src/Interpreters/evaluateConstantExpression.cpp:129: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001bb7ce9b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5803: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbed361 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4889: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07fb6 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:11.691538 [ 10901 ] {8ff29170-2072-4d37-bfc1-fee0249f480b} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/evaluateConstantExpression.cpp:103: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x000000001bb7c9a3 7. /build/src/Interpreters/evaluateConstantExpression.cpp:129: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001bb7ce9b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5803: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbed361 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4889: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07fb6 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:11.734623 [ 10901 ] {d599cf36-1111-40d4-aae0-54c47524299c} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:39324) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(toYYYYMM(toDate([arrayJoin([arrayJoin([arrayJoin([arrayJoin([3, materialize(NULL), arrayJoin([1025, materialize(NULL), materialize(NULL)]), NULL])])]), materialize(NULL)])], NULL)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/evaluateConstantExpression.cpp:103: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x000000001bb7c9a3 7. /build/src/Interpreters/evaluateConstantExpression.cpp:129: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001bb7ce9b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5803: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbed361 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4889: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07fb6 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:11.736141 [ 10901 ] {d599cf36-1111-40d4-aae0-54c47524299c} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/evaluateConstantExpression.cpp:103: DB::evaluateConstantExpressionImpl(std::shared_ptr const&, std::shared_ptr const&, bool) @ 0x000000001bb7c9a3 7. /build/src/Interpreters/evaluateConstantExpression.cpp:129: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001bb7ce9b 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5803: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbed361 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4889: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07fb6 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:16.265544 [ 10908 ] {93d12e95-9217-4d02-882d-d04416e61c3b} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4) (version 24.3.12.76.altinitystable) (from [::1]:39390) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv4) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:35:16.266523 [ 10908 ] {93d12e95-9217-4d02-882d-d04416e61c3b} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:35:16.448454 [ 10908 ] {f659ec0a-75be-402e-9ddc-d55d806a0144} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6) (version 24.3.12.76.altinitystable) (from [::1]:39390) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv6) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:35:16.449482 [ 10908 ] {f659ec0a-75be-402e-9ddc-d55d806a0144} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:35:19.600675 [ 15144 ] {f3eb5c9b97da4edf85a7a7ad143a816e} executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48690) (in query: insert into test_m1lq0e9f.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Columns/ColumnLowCardinality.cpp:241: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001bef52f9 7. /build/src/Columns/ColumnLowCardinality.cpp:248: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001bee8889 8. /build/src/Columns/ColumnLowCardinality.cpp:258: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001bee8700 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001a011199 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a010a19 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 13. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 14. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 15. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 16. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 17. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 18. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:19.602313 [ 15144 ] {f3eb5c9b97da4edf85a7a7ad143a816e} TCPHandler: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Columns/ColumnLowCardinality.cpp:241: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001bef52f9 7. /build/src/Columns/ColumnLowCardinality.cpp:248: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001bee8889 8. /build/src/Columns/ColumnLowCardinality.cpp:258: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001bee8700 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001a011199 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a010a19 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 13. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 14. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 15. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 16. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 17. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 18. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:19.807761 [ 10908 ] {06067fb4eb834d5b92a96f2370abf6ca} executeQuery: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48694) (in query: insert into test_m1lq0e9f.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001a015c07 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a0108b9 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 10. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 11. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 12. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 13. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 14. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 15. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:19.808693 [ 10908 ] {06067fb4eb834d5b92a96f2370abf6ca} TCPHandler: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001a015c07 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a0108b9 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 10. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 11. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 12. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 13. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 14. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 15. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:19.946475 [ 10908 ] {98825d4b-94c6-4c34-92bf-cc8670c8d1f3} executeQuery: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48694) (in query: ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:20.087395 [ 10908 ] {98825d4b-94c6-4c34-92bf-cc8670c8d1f3} TCPHandler: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:20.088082 [ 10908 ] {98825d4b-94c6-4c34-92bf-cc8670c8d1f3} TCPHandler: Can't skip data packets after query failure. 2025.03.05 21:35:20.089753 [ 15144 ] {514ffa32ca6b47eeb30f960b2c9e56e4} executeQuery: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:48700) (in query: insert into test_m1lq0e9f.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001a010ffb 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a010a19 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 10. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 11. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 12. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 13. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 14. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 15. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:20.090848 [ 15144 ] {514ffa32ca6b47eeb30f960b2c9e56e4} TCPHandler: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001a010ffb 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001a010a19 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001d4c3414 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001d4c4320 10. /build/src/Server/TCPHandler.cpp:1957: DB::TCPHandler::receiveData(bool) @ 0x000000001d483c09 11. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receivePacket() @ 0x000000001d4784a9 12. /build/src/Server/TCPHandler.cpp:795: DB::TCPHandler::readDataNext() @ 0x000000001d47b729 13. /build/src/Server/TCPHandler.cpp:913: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c871 14. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 15. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:20.321258 [ 15144 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Hello received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:14: DB::NetException::NetException(int, char const (&) [45]) @ 0x000000001d48ac5e 6. /build/src/Server/TCPHandler.cpp:1558: DB::TCPHandler::receiveUnexpectedHello() @ 0x000000001d480745 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001d47855e 8. /build/src/Server/TCPHandler.cpp:372: DB::TCPHandler::runImpl() @ 0x000000001d46e31e 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:29.447924 [ 17146 ] {826d049d-58a9-465b-8d9d-74b7b4906b3a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.49 MiB (attempt to allocate chunk of 1286328 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:59550) (comment: 01961_roaring_memory_tracking.sql) (in query: SELECT cityHash64(rand() % 1000) as n, groupBitmapState(number) FROM numbers_mt(200000000) GROUP BY n FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Interpreters/Aggregator.cpp:1185: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a934556 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a92f905 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d1876 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728bcb 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:35:30.441833 [ 17146 ] {826d049d-58a9-465b-8d9d-74b7b4906b3a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.49 MiB (attempt to allocate chunk of 1286328 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Interpreters/Aggregator.cpp:1185: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a934556 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned long, true, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a92f905 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d1876 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728bcb 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:35:34.294651 [ 17146 ] {6204fca0-d6de-4287-90ff-57d5f53e618e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:59608). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:59608) (comment: 02003_memory_limit_in_client.sh) (in query: SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000) -- { clientError MEMORY_LIMIT_EXCEEDED }), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:34.296125 [ 17146 ] {6204fca0-d6de-4287-90ff-57d5f53e618e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:59608). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:34.296839 [ 17146 ] {6204fca0-d6de-4287-90ff-57d5f53e618e} TCPHandler: Client has gone away. 2025.03.05 21:35:37.669218 [ 15147 ] {37388d7c-00a2-4153-a977-c5c6c12e5488} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Net Exception: Network is unreachable (255.255.255.255:9000). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) 2025.03.05 21:35:37.851478 [ 15147 ] {37388d7c-00a2-4153-a977-c5c6c12e5488} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: . (NO_REMOTE_SHARD_AVAILABLE) (version 24.3.12.76.altinitystable) (from [::1]:59802) (comment: 01956_skip_unavailable_shards_excessive_attempts.sh) (in query: select * from remote('255.255.255.255', system.one) settings use_hedged_requests=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001c743913 6. /build/src/Storages/getStructureOfRemoteTable.cpp:169: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001c742462 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d1a382 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d19879 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:35:37.873389 [ 15147 ] {37388d7c-00a2-4153-a977-c5c6c12e5488} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001c743913 6. /build/src/Storages/getStructureOfRemoteTable.cpp:169: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001c742462 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d1a382 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d19879 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:35:40.505100 [ 10908 ] {52a311cd-5269-43db-b5e1-707dd89e9759} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `greater(now(), toDateTime('2020-06-01 13:31:40'))`: for Sorting key. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37118) (comment: 01943_non_deterministic_order_key.sql) (in query: CREATE TABLE a (`number` UInt64) ENGINE = MergeTree ORDER BY if(now() > toDateTime('2020-06-01 13:31:40'), toInt64(number), -number) SETTINGS index_granularity = 61143, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 194042101, compact_parts_max_bytes_to_buffer = 435688602, compact_parts_max_granules_to_buffer = 36, compact_parts_merge_max_bytes_to_prefetch_part = 11714128, merge_max_block_size = 12532, old_parts_lifetime = 53., prefer_fetch_merged_part_size_threshold = 6190603082, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 9453983, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 52947, primary_key_compress_block_size = 73223), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:40.506459 [ 10908 ] {52a311cd-5269-43db-b5e1-707dd89e9759} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `greater(now(), toDateTime('2020-06-01 13:31:40'))`: for Sorting key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:40.549397 [ 10908 ] {4d4500c6-b6b0-48df-ac97-d34c91d31845} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `now()`: for Sorting key. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37118) (comment: 01943_non_deterministic_order_key.sql) (in query: CREATE TABLE b (`number` UInt64) ENGINE = MergeTree ORDER BY now() > toDateTime(number) SETTINGS index_granularity = 61143, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 194042101, compact_parts_max_bytes_to_buffer = 435688602, compact_parts_max_granules_to_buffer = 36, compact_parts_merge_max_bytes_to_prefetch_part = 11714128, merge_max_block_size = 12532, old_parts_lifetime = 53., prefer_fetch_merged_part_size_threshold = 6190603082, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 9453983, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 52947, primary_key_compress_block_size = 73223), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:40.550440 [ 10908 ] {4d4500c6-b6b0-48df-ac97-d34c91d31845} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `now()`: for Sorting key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:40.582538 [ 10908 ] {11c06547-5f0e-479e-ad09-184907b15ab1} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `now()`: for Sorting key. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37118) (comment: 01943_non_deterministic_order_key.sql) (in query: CREATE TABLE c (`number` UInt64) ENGINE = MergeTree ORDER BY now() SETTINGS index_granularity = 61143, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 194042101, compact_parts_max_bytes_to_buffer = 435688602, compact_parts_max_granules_to_buffer = 36, compact_parts_merge_max_bytes_to_prefetch_part = 11714128, merge_max_block_size = 12532, old_parts_lifetime = 53., prefer_fetch_merged_part_size_threshold = 6190603082, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 9453983, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 52947, primary_key_compress_block_size = 73223), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:40.583591 [ 10908 ] {11c06547-5f0e-479e-ad09-184907b15ab1} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `now()`: for Sorting key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/ActionsDAG.cpp:1325: DB::ActionsDAG::assertDeterministic() const @ 0x000000001a43ec03 7. /build/src/Interpreters/ExpressionActions.cpp:814: DB::ExpressionActions::assertDeterministic() const @ 0x000000001a6a1d3d 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:533: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001cbb55a2 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:693: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb519f 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:702: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001cbaf05a 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:398: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae126 12. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 18. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 25. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:35:42.262983 [ 1639 ] {7e553c1a-b802-4246-a27f-26dcf916a01a} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Net Exception: Network is unreachable (255.255.255.255:9000). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) 2025.03.05 21:35:44.833240 [ 15145 ] {c5ac0d52-f7e0-4614-ad92-0168c777715d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:37228). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:37228) (comment: 02003_memory_limit_in_client.sh) (in query: SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000) -- { clientError MEMORY_LIMIT_EXCEEDED }), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:44.834705 [ 15145 ] {c5ac0d52-f7e0-4614-ad92-0168c777715d} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:37228). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:44.835274 [ 15145 ] {c5ac0d52-f7e0-4614-ad92-0168c777715d} TCPHandler: Client has gone away. 2025.03.05 21:35:46.527288 [ 17146 ] {9456c390-6fe2-424c-accf-723deda91b41} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:37264). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:37264) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:46.541176 [ 17146 ] {9456c390-6fe2-424c-accf-723deda91b41} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37264). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:46.541711 [ 17146 ] {9456c390-6fe2-424c-accf-723deda91b41} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:37264). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:46.543319 [ 17146 ] {9456c390-6fe2-424c-accf-723deda91b41} TCPHandler: Client has gone away. 2025.03.05 21:35:46.612176 [ 15145 ] {396ccef4-733b-449b-a158-4d2022bca78f} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Net Exception: Network is unreachable (255.255.255.255:9000). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) 2025.03.05 21:35:46.730361 [ 2606 ] {396ccef4-733b-449b-a158-4d2022bca78f} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Net Exception: Network is unreachable (255.255.255.255:9000). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) 2025.03.05 21:35:48.333393 [ 15145 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:47428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:50.657983 [ 15145 ] {86672fd1-2090-4b2f-b047-45a0bfc28e0d} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47440). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:47440) (comment: 02003_memory_limit_in_client.sh) (in query: SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000) -- { clientError MEMORY_LIMIT_EXCEEDED }), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:50.659210 [ 15145 ] {86672fd1-2090-4b2f-b047-45a0bfc28e0d} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:47440). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/IO/WriteBuffer.h:76: DB::WriteBuffer::nextIfAtEnd() @ 0x000000000a92ff78 9. /build/src/IO/WriteBuffer.h:91: DB::WriteBuffer::write(char const*, unsigned long) @ 0x000000000a92fde0 10. /build/src/DataTypes/Serializations/SerializationNumber.cpp:213: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x000000001a02cf00 11. /build/src/DataTypes/Serializations/ISerialization.cpp:125: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fcf61f 12. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 13. /build/src/DataTypes/Serializations/SerializationArray.cpp:338: DB::SerializationArray::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x0000000019fdffb2 14. /build/src/Formats/NativeWriter.cpp:63: DB::writeData(DB::ISerialization const&, COW::immutable_ptr const&, DB::WriteBuffer&, unsigned long, unsigned long) @ 0x000000001d4c88bb 15. /build/src/Formats/NativeWriter.cpp:164: DB::NativeWriter::write(DB::Block const&) @ 0x000000001d4c8576 16. /build/src/Server/TCPHandler.cpp:2215: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c155 17. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 18. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:50.659654 [ 15145 ] {86672fd1-2090-4b2f-b047-45a0bfc28e0d} TCPHandler: Client has gone away. 2025.03.05 21:35:51.270092 [ 15145 ] {ac57daf2-a35b-41a1-ad4d-f6ee840b5f4f} executeQuery: Code: 703. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (INVALID_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:47488) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x00000000132e2728 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b5714 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:35:51.271054 [ 15145 ] {ac57daf2-a35b-41a1-ad4d-f6ee840b5f4f} TCPHandler: Code: 703. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (INVALID_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x00000000132e2728 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b5714 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:35:51.301554 [ 15145 ] {da5f9f34-f7e5-401b-835f-064d6b3db9ad} executeQuery: Code: 703. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (INVALID_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:47488) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x00000000132e2728 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b5714 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:35:51.302532 [ 15145 ] {da5f9f34-f7e5-401b-835f-064d6b3db9ad} TCPHandler: Code: 703. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (INVALID_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x00000000132e2728 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b5714 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:35:51.485540 [ 15145 ] {26f56160-069e-4519-9418-946b53860934} executeQuery: Code: 703. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (INVALID_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:47488) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT NULL AND (2147483648 AND NULL) AND -2147483647, toUUID(((1048576 AND NULL) AND (2147483647 AND 257 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id), '00000000-e1fe-11e\0-bb8f\0853d60c00749'), stringToH3('89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3277: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c7702 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3905: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4c73 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6357: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0660 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:51.486660 [ 15145 ] {26f56160-069e-4519-9418-946b53860934} TCPHandler: Code: 703. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (INVALID_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3277: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c7702 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3905: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c4c73 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0afde7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4166: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aef33 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6357: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0660 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:35:55.385069 [ 15145 ] {adae0593-a2be-44d8-a273-cefeeced21ad} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:47506). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:47506) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:55.401594 [ 15145 ] {adae0593-a2be-44d8-a273-cefeeced21ad} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47506). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:35:55.402047 [ 15145 ] {adae0593-a2be-44d8-a273-cefeeced21ad} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:47506). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:35:55.402633 [ 15145 ] {adae0593-a2be-44d8-a273-cefeeced21ad} TCPHandler: Client has gone away. 2025.03.05 21:36:16.337799 [ 15147 ] {701d2dae-acc4-4388-969c-95c0cf58bd62} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(quantile, UInt8) of argument for aggregate function sum: In scope SELECT toTypeName(initializeAggregation('sumState', initializeAggregation('quantileState', 0))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:46536) (comment: 01890_state_of_state.sql) (in query: SELECT toTypeName(initializeAggregation('sumState', initializeAggregation('quantileState', 0)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfe67 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:36:16.339065 [ 15147 ] {701d2dae-acc4-4388-969c-95c0cf58bd62} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(quantile, UInt8) of argument for aggregate function sum: In scope SELECT toTypeName(initializeAggregation('sumState', initializeAggregation('quantileState', 0))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfe67 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:36:16.744795 [ 15147 ] {c70a32d4-5add-4604-abcb-11eb67728f0e} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt8) of argument of aggregate function max because the values of that data type are not comparable: In scope SELECT hex(toString(initializeAggregation('maxState', initializeAggregation('uniqState', 0)))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:46536) (comment: 01890_state_of_state.sql) (in query: SELECT hex(toString(initializeAggregation('maxState', initializeAggregation('uniqState', 0))));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:33: DB::(anonymous namespace)::AggregateFunctionMinMax::AggregateFunctionMinMax(std::vector, std::allocator>> const&) @ 0x0000000014883bcc 7. /build/src/AggregateFunctions/SingleValueData.h:371: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001488001f 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:192: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMinMax(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014855ded 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 19. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 20. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 21. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 22. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 23. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:36:16.745865 [ 15147 ] {c70a32d4-5add-4604-abcb-11eb67728f0e} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt8) of argument of aggregate function max because the values of that data type are not comparable: In scope SELECT hex(toString(initializeAggregation('maxState', initializeAggregation('uniqState', 0)))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:33: DB::(anonymous namespace)::AggregateFunctionMinMax::AggregateFunctionMinMax(std::vector, std::allocator>> const&) @ 0x0000000014883bcc 7. /build/src/AggregateFunctions/SingleValueData.h:371: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001488001f 8. /build/src/AggregateFunctions/AggregateFunctionsMinMax.cpp:192: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMinMax(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014855ded 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 19. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 20. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 21. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 22. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 23. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:36:17.018078 [ 15147 ] {575b9908-84b6-4bb3-b4e0-53ae13ddf3b0} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt64) of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:46536) (comment: 01890_state_of_state.sql) (in query: SELECT toTypeName(quantileState(x)) FROM (SELECT uniqState(number) AS x FROM numbers(1000));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:36:17.209424 [ 15148 ] {ede248b1-5dd4-45c7-9ca5-a13caa75beb0} executeQuery: Code: 48. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:46538) (comment: 01883_with_grouping_sets.sql) (in query: SELECT fact_1_id, fact_3_id, SUM(sales_value) AS sales_value FROM grouping_sets GROUP BY grouping sets ((fact_1_id), (fact_1_id, fact_3_id)) WITH TOTALS ORDER BY fact_1_id, fact_3_id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8028: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09ab3f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:17.209647 [ 15147 ] {575b9908-84b6-4bb3-b4e0-53ae13ddf3b0} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt64) of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:36:17.210712 [ 15148 ] {ede248b1-5dd4-45c7-9ca5-a13caa75beb0} TCPHandler: Code: 48. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8028: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09ab3f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:17.402709 [ 15147 ] {eeb60c79-e782-4973-af31-9cabbe3de932} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt64) of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:46536) (comment: 01890_state_of_state.sql) (in query: SELECT hex(toString(quantileState(x))) FROM (SELECT uniqState(number) AS x FROM numbers(1000));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:36:17.402815 [ 15148 ] {a4efbdb0-3687-45df-a9c3-0c24e1ef835d} executeQuery: Code: 48. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:46538) (comment: 01883_with_grouping_sets.sql) (in query: SELECT fact_1_id, fact_3_id, SUM(sales_value) AS sales_value FROM grouping_sets GROUP BY grouping sets (fact_1_id, (fact_1_id, fact_3_id)) WITH TOTALS ORDER BY fact_1_id, fact_3_id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8028: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09ab3f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:17.403730 [ 15147 ] {eeb60c79-e782-4973-af31-9cabbe3de932} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(uniq, UInt64) of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:36:17.404275 [ 15148 ] {a4efbdb0-3687-45df-a9c3-0c24e1ef835d} TCPHandler: Code: 48. DB::Exception: WITH TOTALS and GROUPING SETS are not supported together. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8028: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09ab3f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:35.105877 [ 15147 ] {272cbee8-becf-428a-9e83-73e0c5c22f1d} executeQuery: Code: 47. DB::Exception: Unknown expression identifier '_partition_value' in scope SELECT _partition_value FROM tbl2. Maybe you meant: ['_partition_id']. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:56734) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:36:35.106741 [ 15147 ] {272cbee8-becf-428a-9e83-73e0c5c22f1d} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier '_partition_value' in scope SELECT _partition_value FROM tbl2. Maybe you meant: ['_partition_id']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:36:35.123080 [ 15147 ] {d0e7034f-83ee-4688-918d-fa6d6666e9db} executeQuery: Code: 47. DB::Exception: Unknown expression identifier '_partition_value' in scope SELECT _partition_value FROM tbl2 GROUP BY 1. Maybe you meant: ['_partition_id']. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:56734) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2 group by 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:36:35.123863 [ 15147 ] {d0e7034f-83ee-4688-918d-fa6d6666e9db} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier '_partition_value' in scope SELECT _partition_value FROM tbl2 GROUP BY 1. Maybe you meant: ['_partition_id']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:36:40.286036 [ 15144 ] {07b4b22f-16ac-44ed-aa3d-06beb6002a45} executeQuery: Code: 60. DB::Exception: Table default.non_existing_table does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:43434) (in query: INSERT INTO non_existing_table SELECT col1, initializeAggregation('argMaxState', col2, insertTime) as col2, now() as insertTime FROM input('col1 String, col2 Array(Float64)') FORMAT CSV ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 13. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 14. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:40.287769 [ 15144 ] {07b4b22f-16ac-44ed-aa3d-06beb6002a45} DynamicQueryHandler: Code: 60. DB::Exception: Table default.non_existing_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 13. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 14. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:36:41.846668 [ 15145 ] {71f38d6c-07c3-4501-b3a9-d820dc781fd3} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33336). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:33336) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:41.857843 [ 15145 ] {71f38d6c-07c3-4501-b3a9-d820dc781fd3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:33336). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:36:41.858321 [ 15145 ] {71f38d6c-07c3-4501-b3a9-d820dc781fd3} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33336). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:41.858953 [ 15145 ] {71f38d6c-07c3-4501-b3a9-d820dc781fd3} TCPHandler: Client has gone away. 2025.03.05 21:36:44.838899 [ 15146 ] {73591a53-ef90-4322-85c0-217c3eadd15a} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS) (version 24.3.12.76.altinitystable) (from [::1]:33408) (comment: 01825_type_json_insert_select.sql) (in query: INSERT INTO type_json_dst SELECT * FROM type_json_src WHERE id = 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/DataTypes/ObjectUtils.cpp:299: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000019f8daa6 7. /build/src/DataTypes/ObjectUtils.cpp:361: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x0000000019f945de 8. /build/src/DataTypes/ObjectUtils.cpp:424: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000019f8df30 9. /build/src/DataTypes/ObjectUtils.cpp:457: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000019f8d8fa 10. /build/src/DataTypes/ObjectUtils.cpp:260: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000019f8ce26 11. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001d13a92b 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:36:44.848113 [ 15146 ] {73591a53-ef90-4322-85c0-217c3eadd15a} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000a90b3ec 6. /build/src/DataTypes/ObjectUtils.cpp:299: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x0000000019f8daa6 7. /build/src/DataTypes/ObjectUtils.cpp:361: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x0000000019f945de 8. /build/src/DataTypes/ObjectUtils.cpp:424: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000019f8df30 9. /build/src/DataTypes/ObjectUtils.cpp:457: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x0000000019f8d8fa 10. /build/src/DataTypes/ObjectUtils.cpp:260: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000019f8ce26 11. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001d13a92b 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:36:47.792414 [ 15147 ] {bd8669a8-9e54-4384-8f86-0c8ea920c959} executeQuery: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:33444) (comment: 01825_type_json_1.sql) (in query: CREATE TABLE t_json(id UInt64, data Object('JSON')) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1509: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d4ec 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:36:47.793263 [ 15147 ] {bd8669a8-9e54-4384-8f86-0c8ea920c959} TCPHandler: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1509: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d4ec 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:00.712500 [ 15146 ] {a96bdc12-5b87-4c57-9878-905f85235749} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49732). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:49732) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:00.722718 [ 15146 ] {a96bdc12-5b87-4c57-9878-905f85235749} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:49732). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:37:00.723150 [ 15146 ] {a96bdc12-5b87-4c57-9878-905f85235749} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49732). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:00.723685 [ 15146 ] {a96bdc12-5b87-4c57-9878-905f85235749} TCPHandler: Client has gone away. 2025.03.05 21:37:02.392203 [ 15147 ] {2e486b86-52e0-4fb6-99d9-d7e4fddd3340} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8590066464 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:59006) (comment: 01783_parallel_formatting_memory.sh) (in query: SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013253923 11. /build/src/Common/PODArray.h:149: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000a98bae2 12. /build/src/Common/PODArray.h:226: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::reserve_exact<>(unsigned long) @ 0x0000000013302d57 13. /build/src/Columns/ColumnArray.cpp:1064: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001bdc3d46 14. /build/src/Columns/ColumnArray.cpp:997: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001bdb633b 15. /build/src/Columns/ColumnConst.cpp:49: DB::ColumnConst::convertToFullColumn() const @ 0x000000001bdeba42 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000b072c80 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001da59153 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 27. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:02.394882 [ 15147 ] {2e486b86-52e0-4fb6-99d9-d7e4fddd3340} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8590066464 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013253923 11. /build/src/Common/PODArray.h:149: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000a98bae2 12. /build/src/Common/PODArray.h:226: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::reserve_exact<>(unsigned long) @ 0x0000000013302d57 13. /build/src/Columns/ColumnArray.cpp:1064: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001bdc3d46 14. /build/src/Columns/ColumnArray.cpp:997: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001bdb633b 15. /build/src/Columns/ColumnConst.cpp:49: DB::ColumnConst::convertToFullColumn() const @ 0x000000001bdeba42 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000b072c80 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001da59153 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 22. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 23. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 24. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 25. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 27. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 (version 24.3.12.76.altinitystable) 2025.03.05 21:37:23.025151 [ 15145 ] {fcf8a8dd-7f1d-4173-a1e7-de12fbf29af8} executeQuery: Code: 6. DB::Exception: Cannot parse string '2021-1-01 00:00:00' as DateTime: syntax error at position 10 (parsed just '2021-1-01 '): In scope SELECT toDateTime(format('{}-{}-01 00:00:00', '2021', '1')). (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:48762) (comment: 01750_parsing_exception.sh) (in query: SELECT toDateTime(format('{}-{}-01 00:00:00', '2021', '1'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd7047 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:37:23.028150 [ 15145 ] {fcf8a8dd-7f1d-4173-a1e7-de12fbf29af8} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2021-1-01 00:00:00' as DateTime: syntax error at position 10 (parsed just '2021-1-01 '): In scope SELECT toDateTime(format('{}-{}-01 00:00:00', '2021', '1')). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd7047 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:37:29.716984 [ 15145 ] {827e179f-63b7-4d11-91ad-93aec417a70b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:48846) (comment: 01720_type_map_and_casts.sql) (in query: SELECT m[257], m[1] FROM table_map_with_key_integer;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/array/arrayElement.cpp:1934: DB::(anonymous namespace)::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012a19004 7. /build/src/Functions/array/arrayElement.cpp:1996: DB::(anonymous namespace)::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012a17772 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 14. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 15. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 19. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 20. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 23. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:37:29.717940 [ 15145 ] {827e179f-63b7-4d11-91ad-93aec417a70b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/array/arrayElement.cpp:1934: DB::(anonymous namespace)::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012a19004 7. /build/src/Functions/array/arrayElement.cpp:1996: DB::(anonymous namespace)::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012a17772 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 14. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 15. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 19. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 20. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 23. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:37:30.555094 [ 15145 ] {2c6229e8-66ce-410b-ba73-294cfbdd4caa} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:48846) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Float32, String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 27429, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 31913372, compact_parts_max_granules_to_buffer = 256, compact_parts_merge_max_bytes_to_prefetch_part = 31095980, merge_max_block_size = 23803, old_parts_lifetime = 358., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 7988267803, index_granularity_bytes = 28925107, concurrent_part_removal_threshold = 19, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 76514, primary_key_compress_block_size = 84702), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:30.556127 [ 15145 ] {2c6229e8-66ce-410b-ba73-294cfbdd4caa} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:30.580613 [ 15145 ] {f0fae38c-f072-41ad-a6de-a85de3ba106e} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:48846) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Nullable(String), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 27429, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 31913372, compact_parts_max_granules_to_buffer = 256, compact_parts_merge_max_bytes_to_prefetch_part = 31095980, merge_max_block_size = 23803, old_parts_lifetime = 358., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 7988267803, index_granularity_bytes = 28925107, concurrent_part_removal_threshold = 19, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 76514, primary_key_compress_block_size = 84702), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:30.581528 [ 15145 ] {f0fae38c-f072-41ad-a6de-a85de3ba106e} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:30.603804 [ 15145 ] {ce5c01fd-e8be-4fc3-9dfd-865e65f86792} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:48846) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Array(UInt32), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 27429, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 31913372, compact_parts_max_granules_to_buffer = 256, compact_parts_merge_max_bytes_to_prefetch_part = 31095980, merge_max_block_size = 23803, old_parts_lifetime = 358., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 7988267803, index_granularity_bytes = 28925107, concurrent_part_removal_threshold = 19, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 76514, primary_key_compress_block_size = 84702), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:30.604816 [ 15145 ] {ce5c01fd-e8be-4fc3-9dfd-865e65f86792} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x0000000019f16887 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x0000000019f16a1b 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867506 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x000000000f867481 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x000000000f867407 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000f867337 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x000000000f8672e6 13. /build/src/DataTypes/DataTypeMap.cpp:165: DB::create(std::shared_ptr const&) @ 0x0000000019f180f1 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ec6c9d 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019ec6c5d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019ec6c1d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019ec6bc5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019edf07e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019edefdd 20. /build/src/DataTypes/DataTypeFactory.cpp:162: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x0000000019edde83 21. /build/src/DataTypes/DataTypeFactory.cpp:93: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x0000000019edd52f 22. /build/src/DataTypes/DataTypeFactory.cpp:74: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x0000000019edae1d 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:539: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c070 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:37:41.623220 [ 17146 ] {13aa23fd-b908-4d92-9493-4e6382dc8ca9} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- optimize_skip_unused_shards does not support non-constants select * from dist_01756 where dummy in (select * from system.one);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:41.624255 [ 17146 ] {13aa23fd-b908-4d92-9493-4e6382dc8ca9} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:41.832277 [ 17146 ] {8a7d74f4-eba6-4a78-b56c-e0b41f5a5799} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- this is a constant for analyzer select * from dist_01756 where dummy in (toUInt8(0)) settings allow_experimental_analyzer=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:1039: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b45357b 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:37:41.833220 [ 17146 ] {8a7d74f4-eba6-4a78-b56c-e0b41f5a5799} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:1039: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b45357b 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:37:41.863363 [ 17146 ] {6253aed8-72be-40a1-850f-b87e6dcf7067} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- NOT IN does not supported select * from dist_01756 where dummy not in (0, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:41.864132 [ 17146 ] {6253aed8-72be-40a1-850f-b87e6dcf7067} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:42.018487 [ 15147 ] {b2b5fd11-b4ac-4234-99ba-46cf0a7436c6} executeQuery: Code: 582. DB::Exception: There is no projection pp in table. (NO_SUCH_PROJECTION_IN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:49506) (comment: 01710_projection_drop_if_exists.sql) (in query: alter table tp drop projection pp;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:42.019559 [ 15147 ] {b2b5fd11-b4ac-4234-99ba-46cf0a7436c6} TCPHandler: Code: 582. DB::Exception: There is no projection pp in table. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:42.169738 [ 15147 ] {f9b37423-40e6-493b-91f2-7d796379609f} executeQuery: Code: 582. DB::Exception: There is no projection p in table. (NO_SUCH_PROJECTION_IN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:49506) (comment: 01710_projection_drop_if_exists.sql) (in query: alter table tp drop projection p;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:42.170620 [ 15147 ] {f9b37423-40e6-493b-91f2-7d796379609f} TCPHandler: Code: 582. DB::Exception: There is no projection p in table. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/ProjectionsDescription.cpp:409: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001c2e9d66 7. /build/src/Storages/AlterCommands.cpp:765: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a491 8. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:43.070319 [ 17146 ] {9b58cfd7-c682-4999-ac72-067ecb8c4b17} executeQuery: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- analyzer does support this select * from dist_01756_str where key in ('0', Null) settings allow_experimental_analyzer=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:1039: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b45357b 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:37:43.071123 [ 17146 ] {9b58cfd7-c682-4999-ac72-067ecb8c4b17} TCPHandler: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:1039: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001b45357b 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:799: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001b448f3e 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:809: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b444042 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:210: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b43f286 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001b5e6661 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:255: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001b5e39c9 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:153: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5e2e45 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b5ea5f4 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:418: DB::registerInterpreterSelectWithUnionQuery(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b5e5aac 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b5e5a5d 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b5e59fd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b5e59bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b5e5985 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:37:43.420992 [ 17146 ] {0ce4e9da-0e4c-4ede-b222-bb7843114021} executeQuery: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_column where dummy in (0, '255foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/convertFieldToType.cpp:546: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e8c6 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 8. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 9. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 10. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 11. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 12. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 13. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 15. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 16. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Planner/Planner.cpp:192: DB::(anonymous namespace)::collectFiltersForAnalysis(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&) @ 0x000000001b516266 19. /build/src/Planner/Planner.cpp:241: DB::(anonymous namespace)::collectFiltersForAnalysis(std::shared_ptr const&, DB::SelectQueryOptions&) @ 0x000000001b509725 20. /build/src/Planner/Planner.cpp:1207: DB::Planner::Planner(std::shared_ptr const&, DB::SelectQueryOptions&) @ 0x000000001b5093ec 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b505842 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:37:43.421960 [ 17146 ] {0ce4e9da-0e4c-4ede-b222-bb7843114021} TCPHandler: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/convertFieldToType.cpp:546: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e8c6 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 8. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 9. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 10. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 11. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 12. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 13. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 15. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 16. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 18. /build/src/Planner/Planner.cpp:192: DB::(anonymous namespace)::collectFiltersForAnalysis(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr const&) @ 0x000000001b516266 19. /build/src/Planner/Planner.cpp:241: DB::(anonymous namespace)::collectFiltersForAnalysis(std::shared_ptr const&, DB::SelectQueryOptions&) @ 0x000000001b509725 20. /build/src/Planner/Planner.cpp:1207: DB::Planner::Planner(std::shared_ptr const&, DB::SelectQueryOptions&) @ 0x000000001b5093ec 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b505842 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:37:43.590228 [ 17146 ] {3b073453-92d3-4b77-b250-f0312e255ac6} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:48688) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (0, 2) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:43.591289 [ 17146 ] {3b073453-92d3-4b77-b250-f0312e255ac6} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageDistributed.cpp:1556: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c3324c5 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:47.063177 [ 15148 ] {16d819ef-5ac3-45b4-8e11-cb59ed5f92d0} executeQuery: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:49570) (comment: 01710_force_use_projection.sql) (in query: select avg(eventcnt) eventcnt, d1 from tp group by d1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de263f0 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:47.064043 [ 15148 ] {16d819ef-5ac3-45b4-8e11-cb59ed5f92d0} TCPHandler: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de263f0 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:52.001992 [ 15145 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:60904). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:37:56.114647 [ 15146 ] {6c84c4ce-ab93-4777-8971-401e5db88de4} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:60930). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:60930) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:56.128011 [ 15146 ] {6c84c4ce-ab93-4777-8971-401e5db88de4} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:60930). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:37:56.128544 [ 15146 ] {6c84c4ce-ab93-4777-8971-401e5db88de4} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:60930). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:37:56.129481 [ 15146 ] {6c84c4ce-ab93-4777-8971-401e5db88de4} TCPHandler: Client has gone away. 2025.03.05 21:38:00.312365 [ 10908 ] {0b736eb5-454b-457d-bcb0-9a70ebed24dc} executeQuery: Code: 252. DB::Exception: Too many inactive parts (2) in table 'test_qof0159i.data_01709 (e2e6f7d9-d09b-4615-95c5-9525eaab1a04)'. Parts cleaning are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:52094) (comment: 01709_inactive_parts_to_throw_insert.sql) (in query: insert into data_01709 values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4426: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc01c7f 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:38:00.313290 [ 10908 ] {0b736eb5-454b-457d-bcb0-9a70ebed24dc} TCPHandler: Code: 252. DB::Exception: Too many inactive parts (2) in table 'test_qof0159i.data_01709 (e2e6f7d9-d09b-4615-95c5-9525eaab1a04)'. Parts cleaning are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000afd1e4c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4426: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc01c7f 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:38:04.024341 [ 15144 ] {8aad4dfc-da8a-49ae-951e-5263ef3d6abd} executeQuery: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: In scope SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:52172) (comment: 01700_point_in_polygon_ubsan.sql) (in query: SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x000000001128cc38 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128c953 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128ba34 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128af43 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000112892d9 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:38:04.025547 [ 15144 ] {8aad4dfc-da8a-49ae-951e-5263ef3d6abd} TCPHandler: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: In scope SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x000000001128cc38 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128c953 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128ba34 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x000000001128af43 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000112892d9 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:38:11.937643 [ 15146 ] {513ceb8f-e868-419d-a756-8a2424d07a7e} executeQuery: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.85 KiB (bytes_to_throw_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES) (version 24.3.12.76.altinitystable) (from [::1]:38358) (comment: 01670_distributed_bytes_to_throw_insert.sql) (in query: -- second will fail, because of bytes_to_throw_insert=1 -- (previous block definitelly takes more, since it has header) insert into dist_01670 select * from numbers(1) settings prefer_localhost_replica=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageDistributed.cpp:1839: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001c34653d 7. /build/src/Storages/Distributed/DistributedSink.cpp:141: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001ca43e65 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 20. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 21. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 22. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 30. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 2025.03.05 21:38:11.940956 [ 15146 ] {513ceb8f-e868-419d-a756-8a2424d07a7e} TCPHandler: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.85 KiB (bytes_to_throw_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageDistributed.cpp:1839: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001c34653d 7. /build/src/Storages/Distributed/DistributedSink.cpp:141: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001ca43e65 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 20. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 21. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 22. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 30. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 2025.03.05 21:38:19.647431 [ 15147 ] {1a7544b7-5d15-48e5-a944-4c8323a4be16} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: -- tests with INT64_MIN (via overflow) SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b86ba2a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87c80b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b87aeb4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b8654a7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87acb9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b868959 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8672d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:19.648789 [ 15147 ] {1a7544b7-5d15-48e5-a944-4c8323a4be16} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b86ba2a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87c80b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b87aeb4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b8654a7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87acb9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b868959 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8672d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:19.808986 [ 15147 ] {0e76befa-1a3b-4798-b853-6c4f79605964} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b7dc56a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7ed34b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7eb9f4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7d5fe7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7eb7f9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7d9499 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7d7e14 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:19.810221 [ 15147 ] {0e76befa-1a3b-4798-b853-6c4f79605964} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b7dc56a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7ed34b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7eb9f4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7d5fe7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7eb7f9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7d9499 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7d7e14 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:19.985544 [ 15147 ] {d4078ef4-5da9-4005-be0e-3dabf9f923f6} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b95a0ea 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b96ad6b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b969414 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b953b87 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b9691d9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b957039 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9559b4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:19.986780 [ 15147 ] {d4078ef4-5da9-4005-be0e-3dabf9f923f6} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b95a0ea 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b96ad6b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b969414 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b953b87 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b9691d9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b957039 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9559b4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.158700 [ 15147 ] {1b87a545-8a53-4930-88af-0261df733031} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b7abf6a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bcf6b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7bb614 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7a5567 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bb2b9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7a8a19 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a7394 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.159687 [ 15147 ] {1b87a545-8a53-4930-88af-0261df733031} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b7abf6a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bcf6b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7bb614 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7a5567 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bb2b9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7a8a19 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a7394 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.292671 [ 15147 ] {47e128b4-f969-4651-a57b-f5c61b4980ac} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b98998a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b99a84b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b998ef4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b9832a7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b998a99 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b986759 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9850d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.293596 [ 15147 ] {47e128b4-f969-4651-a57b-f5c61b4980ac} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(unsigned long) @ 0x000000000b98998a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b99a84b 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b998ef4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b9832a7 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b998a99 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b986759 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9850d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.424133 [ 15147 ] {d6a9b5a1-c981-4175-a8fa-bf02d4d72775} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: -- tests with inf SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b86e26a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87ebec 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b87b0f4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b865650 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87acb9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b868959 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8672d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.425027 [ 15147 ] {d6a9b5a1-c981-4175-a8fa-bf02d4d72775} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b86e26a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87ebec 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b87b0f4 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b865650 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b87acb9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b868959 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8672d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.581071 [ 15147 ] {9f68a703-4c22-4e97-8d29-a09fae0b0d5c} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b7dedaa 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7ef72c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7ebc34 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7d6190 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7eb7f9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7d9499 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7d7e14 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.582201 [ 15147 ] {9f68a703-4c22-4e97-8d29-a09fae0b0d5c} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b7dedaa 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7ef72c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7ebc34 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7d6190 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7eb7f9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7d9499 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7d7e14 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.739803 [ 15147 ] {e79431fa-fc91-4c4b-9b3d-c0a8b1d40a07} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b95c92a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b96d14c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b969654 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b953d30 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b9691d9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b957039 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9559b4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.872376 [ 15148 ] {05b49ab4-b4a1-4444-8095-024e156879b2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:46944). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:46944) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:1047: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d22 11. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:20.872606 [ 15147 ] {e79431fa-fc91-4c4b-9b3d-c0a8b1d40a07} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b95c92a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b96d14c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b969654 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b953d30 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b9691d9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b957039 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9559b4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:20.887431 [ 15148 ] {05b49ab4-b4a1-4444-8095-024e156879b2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46944). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:38:20.888105 [ 15148 ] {05b49ab4-b4a1-4444-8095-024e156879b2} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:46944). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:1047: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d22 11. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:20.889001 [ 15148 ] {05b49ab4-b4a1-4444-8095-024e156879b2} TCPHandler: Client has gone away. 2025.03.05 21:38:21.042365 [ 15147 ] {6bac9d5d-8336-4ff2-897a-89a7ab6114d2} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b7aea0a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bf34c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7bb854 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7a5710 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bb2b9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7a8a19 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a7394 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:21.043669 [ 15147 ] {6bac9d5d-8336-4ff2-897a-89a7ab6114d2} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b7aea0a 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bf34c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b7bb854 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b7a5710 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b7bb2b9 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b7a8a19 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a7394 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:21.214892 [ 15147 ] {5553bc9c-8611-4567-8fce-a2f4188386f9} executeQuery: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:46958) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b98c1ca 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b99cc2c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b999134 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b983450 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b998a99 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b986759 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9850d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:21.216224 [ 15147 ] {5553bc9c-8611-4567-8fce-a2f4188386f9} TCPHandler: Code: 407. DB::Exception: Numeric overflow: In scope SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:489: long DB::Processor::checkOverflow(double) @ 0x000000000b98c1ca 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:521: void DB::Processor::vectorVector, DB::ColumnVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b99cc2c 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:469: auto void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector const&)::operator()>(DB::ColumnVector const&) const @ 0x000000000b999134 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector<_BitInt(8)>, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)>(DB::ColumnVector& const*, void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::Processor const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::ColumnVector)&&) @ 0x000000000b983450 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:470: void DB::Processor::vectorVector, DB::ColumnVector>(DB::ColumnVector const&, DB::ColumnVector&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000b998a99 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:566: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000b986759 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:721: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9850d4 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:38:39.934126 [ 19692 ] {970941e0-3efa-4109-8f17-133587a12739} executeQuery: Code: 36. DB::Exception: TTL expression toDate('2020-01-01') does not depend on any of the columns of the table. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:35806) (comment: 01652_ttl_old_syntax.sql) (in query: ALTER TABLE ttl_old_syntax MODIFY TTL toDate('2020-01-01');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/TTLDescription.cpp:65: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728267 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/TTLDescription.cpp:395: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728a80 9. /build/src/Storages/AlterCommands.cpp:769: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a57b 10. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:39.934950 [ 19692 ] {970941e0-3efa-4109-8f17-133587a12739} TCPHandler: Code: 36. DB::Exception: TTL expression toDate('2020-01-01') does not depend on any of the columns of the table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/TTLDescription.cpp:65: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728267 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/TTLDescription.cpp:395: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728a80 9. /build/src/Storages/AlterCommands.cpp:769: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a57b 10. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:40.575368 [ 10908 ] {c341e6b3-45fd-4f3c-a474-216913feb01c} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35754). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:35754) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:40.588008 [ 10908 ] {c341e6b3-45fd-4f3c-a474-216913feb01c} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35754). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:38:40.588527 [ 10908 ] {c341e6b3-45fd-4f3c-a474-216913feb01c} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35754). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:40.589079 [ 10908 ] {c341e6b3-45fd-4f3c-a474-216913feb01c} TCPHandler: Client has gone away. 2025.03.05 21:38:45.584387 [ 15145 ] {e125d5de-632d-4531-b42b-be87060805f2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35868). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:35868) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:45.597979 [ 15145 ] {e125d5de-632d-4531-b42b-be87060805f2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:35868). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:38:45.599456 [ 15145 ] {e125d5de-632d-4531-b42b-be87060805f2} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:35868). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:45.600222 [ 15145 ] {e125d5de-632d-4531-b42b-be87060805f2} TCPHandler: Client has gone away. 2025.03.05 21:38:52.131165 [ 15144 ] {95e42262-98d8-44b2-845d-f55bbab0f0a3} executeQuery: Code: 43. DB::Exception: Values for -Map cannot be summed, passed type Nullable(Nothing): In scope SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:41698) (comment: 01634_sum_map_nulls.sql) (in query: SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [null, null, null]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:131: DB::(anonymous namespace)::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x0000000014c8a0ad 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:82: DB::(anonymous namespace)::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000014c85ab6 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:474: DB::(anonymous namespace)::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c859d5 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::AggregateFunctionSumMap* std::construct_at[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, DB::(anonymous namespace)::AggregateFunctionSumMap*>(DB::(anonymous namespace)::AggregateFunctionSumMap*, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85979 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::(anonymous namespace)::AggregateFunctionSumMap*, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85739 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator>, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c853ff 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85272 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c7b75e 14. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:746: DB::registerAggregateFunctionSumMap(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000014c7ae2a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000014c7acf8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000014c7ac95 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000014c7ac35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000014c7abdd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 23. /build/src/AggregateFunctions/Combinators/AggregateFunctionMap.cpp:451: DB::(anonymous namespace)::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000015f64441 24. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 25. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 26. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 27. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 28. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 29. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 30. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 2025.03.05 21:38:52.132620 [ 15144 ] {95e42262-98d8-44b2-845d-f55bbab0f0a3} TCPHandler: Code: 43. DB::Exception: Values for -Map cannot be summed, passed type Nullable(Nothing): In scope SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:131: DB::(anonymous namespace)::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&) @ 0x0000000014c8a0ad 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:82: DB::(anonymous namespace)::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000014c85ab6 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:474: DB::(anonymous namespace)::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c859d5 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::AggregateFunctionSumMap* std::construct_at[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, DB::(anonymous namespace)::AggregateFunctionSumMap*>(DB::(anonymous namespace)::AggregateFunctionSumMap*, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85979 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::(anonymous namespace)::AggregateFunctionSumMap*, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85739 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator>, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c853ff 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c85272 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014c7b75e 14. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:746: DB::registerAggregateFunctionSumMap(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000014c7ae2a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000014c7acf8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000014c7ac95 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000014c7ac35 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000014c7abdd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 23. /build/src/AggregateFunctions/Combinators/AggregateFunctionMap.cpp:451: DB::(anonymous namespace)::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000015f64441 24. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 25. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 26. /build/src/Functions/initializeAggregation.cpp:88: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e64e2d6 27. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 28. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 29. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 30. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 2025.03.05 21:38:55.238496 [ 15147 ] {f8578073-2407-40c7-be96-8b66a30c0177} executeQuery: Code: 48. DB::Exception: Conversion between numeric types and UUID is not supported. Probably the passed UUID is unquoted: In scope SELECT toUUID(-1.1). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:41750) (comment: 01634_uuid_fuzz.sql) (in query: SELECT toUUID(-1.1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:1652: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeUUID, DB::(anonymous namespace)::NameToUUID, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ad04525 7. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeUUID>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ad009bb 8. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ad000f8 9. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acffd2d 10. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acff13e 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:38:55.239394 [ 15147 ] {f8578073-2407-40c7-be96-8b66a30c0177} TCPHandler: Code: 48. DB::Exception: Conversion between numeric types and UUID is not supported. Probably the passed UUID is unquoted: In scope SELECT toUUID(-1.1). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:1652: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeUUID, DB::(anonymous namespace)::NameToUUID, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ad04525 7. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeUUID>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ad009bb 8. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ad000f8 9. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acffd2d 10. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acff13e 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:38:55.674119 [ 15147 ] {8e56f45b-8780-4ea6-bc2f-4ac84e5b09a8} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(groupArray(9223372036854775807), UInt32) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: groupArray instead of groupArray. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:41766) (comment: 01632_group_array_msan.sql) (in query: SELECT groupArrayMerge(1048577)(y * 1048576) FROM (SELECT groupArrayState(9223372036854775807)(x) AS y FROM (SELECT 1048576 AS x)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:38:55.675309 [ 15147 ] {8e56f45b-8780-4ea6-bc2f-4ac84e5b09a8} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(groupArray(9223372036854775807), UInt32) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: groupArray instead of groupArray. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:38:56.416411 [ 15147 ] {700d4e3b-8792-4b42-a403-f6b6d768ab0f} executeQuery: Code: 43. DB::Exception: Illegal type AggregateFunction(quantileResample(0.1, 1, 2, 42), UInt64, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: quantileResample instead of quantileResample. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:41766) (comment: 01632_group_array_msan.sql) (in query: SELECT quantileResampleMerge(0.5, 257, 65536, 1)(tuple(*).1) FROM (SELECT quantileResampleState(0.10, 1, 2, 42)(number, number) FROM numbers(100));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:38:56.417318 [ 15147 ] {700d4e3b-8792-4b42-a403-f6b6d768ab0f} TCPHandler: Code: 43. DB::Exception: Illegal type AggregateFunction(quantileResample(0.1, 1, 2, 42), UInt64, UInt64) of argument for aggregate function with Merge suffix. because it corresponds to different aggregate function: quantileResample instead of quantileResample. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionMerge.cpp:61: DB::(anonymous namespace)::AggregateFunctionCombinatorMerge::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001600a28c 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:38:58.800867 [ 15146 ] {c937f0c3-548e-45c3-a05f-e89090549989} executeQuery: Code: 36. DB::Exception: Floating point partition key is not supported: a. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38606) (comment: 01630_disallow_floating_point_as_partition_key.sql) (in query: CREATE TABLE test (`a` Float32, `b` int) ENGINE = MergeTree PARTITION BY a ORDER BY tuple() SETTINGS index_granularity = 653, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.2557748556137085, replace_long_file_name_to_hash = true, max_file_name_length = 87, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 18003322, compact_parts_max_granules_to_buffer = 81, compact_parts_merge_max_bytes_to_prefetch_part = 21040411, merge_max_block_size = 20516, old_parts_lifetime = 448., prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7240429175, index_granularity_bytes = 9804624, concurrent_part_removal_threshold = 69, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 97875, primary_key_compress_block_size = 57379), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:713: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3b0a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:58.802133 [ 15146 ] {c937f0c3-548e-45c3-a05f-e89090549989} TCPHandler: Code: 36. DB::Exception: Floating point partition key is not supported: a. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:713: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3b0a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:59.032846 [ 15146 ] {1652b568-c1f0-4fdf-aada-3842b72c5006} executeQuery: Code: 36. DB::Exception: Floating point partition key is not supported: d. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38606) (comment: 01630_disallow_floating_point_as_partition_key.sql) (in query: CREATE TABLE test (`a` Float32, `b` int, `c` String, `d` Float64) ENGINE = MergeTree PARTITION BY (b, c, d) ORDER BY tuple() SETTINGS allow_floating_point_partition_key = false, index_granularity = 653, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.2557748556137085, replace_long_file_name_to_hash = true, max_file_name_length = 87, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 18003322, compact_parts_max_granules_to_buffer = 81, compact_parts_merge_max_bytes_to_prefetch_part = 21040411, merge_max_block_size = 20516, old_parts_lifetime = 448., prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7240429175, index_granularity_bytes = 9804624, concurrent_part_removal_threshold = 69, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 97875, primary_key_compress_block_size = 57379), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:713: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3b0a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:38:59.033942 [ 15146 ] {1652b568-c1f0-4fdf-aada-3842b72c5006} TCPHandler: Code: 36. DB::Exception: Floating point partition key is not supported: d. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:713: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3b0a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 13. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:39:18.762752 [ 10263 ] {bfea3841-79b8-435d-8bbd-0a95e59341a0} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt8: In scope SELECT accurateCast(-1, 'UInt8'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac6dae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac26da 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1d57 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:18.763682 [ 10263 ] {bfea3841-79b8-435d-8bbd-0a95e59341a0} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt8: In scope SELECT accurateCast(-1, 'UInt8'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac6dae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac26da 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1d57 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.273603 [ 10263 ] {1179ac00-b8ec-4cf8-ba2e-2852a42ce629} executeQuery: Code: 70. DB::Exception: Value in column UInt16 cannot be safely converted into type UInt8: In scope SELECT accurateCast(257, 'UInt8'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(257, 'UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac36ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac213a 8. /build/src/Core/callOnTypeIndex.h:179: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1ce1 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.275212 [ 10263 ] {1179ac00-b8ec-4cf8-ba2e-2852a42ce629} TCPHandler: Code: 70. DB::Exception: Value in column UInt16 cannot be safely converted into type UInt8: In scope SELECT accurateCast(257, 'UInt8'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac36ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac213a 8. /build/src/Core/callOnTypeIndex.h:179: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1ce1 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.454212 [ 10263 ] {863977f8-206f-4553-b7cc-dd37ac079a57} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt16: In scope SELECT accurateCast(-1, 'UInt16'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'UInt16');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aae052e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aadc3fa 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aadba77 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aadb751 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aadb6a6 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aadb640 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aadb5e0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aadb58b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.455634 [ 10263 ] {863977f8-206f-4553-b7cc-dd37ac079a57} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt16: In scope SELECT accurateCast(-1, 'UInt16'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aae052e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aadc3fa 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aadba77 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aadb751 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aadb6a6 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aadb640 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aadb5e0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aadb58b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.644391 [ 10263 ] {02d70682-5916-40ee-92cf-928a8f6020e9} executeQuery: Code: 70. DB::Exception: Value in column UInt32 cannot be safely converted into type UInt16: In scope SELECT accurateCast(65536, 'UInt16'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(65536, 'UInt16');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaddcee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aadbf7a 8. /build/src/Core/callOnTypeIndex.h:180: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aadba18 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aadb751 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aadb6a6 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aadb640 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aadb5e0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aadb58b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.645572 [ 10263 ] {02d70682-5916-40ee-92cf-928a8f6020e9} TCPHandler: Code: 70. DB::Exception: Value in column UInt32 cannot be safely converted into type UInt16: In scope SELECT accurateCast(65536, 'UInt16'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaddcee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aadbf7a 8. /build/src/Core/callOnTypeIndex.h:180: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aadba18 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aadb751 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aadb6a6 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aadb640 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aadb5e0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aadb58b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.814941 [ 10263 ] {3d47da1d-9236-46ba-91f8-39dc3c253b64} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt32: In scope SELECT accurateCast(-1, 'UInt32'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'UInt32');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaf92ee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aaf51ba 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aaf4837 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aaf4511 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aaf4466 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aaf4400 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aaf43a0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aaf434b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:19.816227 [ 10263 ] {3d47da1d-9236-46ba-91f8-39dc3c253b64} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt32: In scope SELECT accurateCast(-1, 'UInt32'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaf92ee 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aaf51ba 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aaf4837 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aaf4511 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aaf4466 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aaf4400 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aaf43a0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aaf434b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.020682 [ 10263 ] {205ea22c-0402-4a4b-9c90-cf9699a4018c} executeQuery: Code: 70. DB::Exception: Value in column UInt64 cannot be safely converted into type UInt32: In scope SELECT accurateCast(4294967296, 'UInt32'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(4294967296, 'UInt32');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaf74ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aaf4e5a 8. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aaf47f2 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aaf4511 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aaf4466 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aaf4400 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aaf43a0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aaf434b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.022188 [ 10263 ] {205ea22c-0402-4a4b-9c90-cf9699a4018c} TCPHandler: Code: 70. DB::Exception: Value in column UInt64 cannot be safely converted into type UInt32: In scope SELECT accurateCast(4294967296, 'UInt32'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aaf74ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aaf4e5a 8. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aaf47f2 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aaf4511 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aaf4466 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aaf4400 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aaf43a0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aaf434b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.201431 [ 10263 ] {397be86c-8a60-4edc-820b-8ca5765df7f1} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt64: In scope SELECT accurateCast(-1, 'UInt64'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'UInt64');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab1238e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000ab0e25a 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000ab0d8d7 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab0d5b1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab0d506 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab0d4a0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab0d440 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab0d3eb 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.202641 [ 10263 ] {397be86c-8a60-4edc-820b-8ca5765df7f1} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt64: In scope SELECT accurateCast(-1, 'UInt64'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab1238e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000ab0e25a 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000ab0d8d7 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab0d5b1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab0d506 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab0d4a0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab0d440 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab0d3eb 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.390525 [ 10263 ] {e03ab3ee-e0df-46a9-8811-9296efadf076} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt256: In scope SELECT accurateCast(-1, 'UInt256'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'UInt256');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab44a4e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000ab4095a 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000ab3ffd7 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab3fcb1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab3fc06 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab3fba0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab3fb40 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab3faeb 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.391662 [ 10263 ] {e03ab3ee-e0df-46a9-8811-9296efadf076} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt256: In scope SELECT accurateCast(-1, 'UInt256'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab44a4e 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)::operator(), DB::DataTypeNumber>>>(DB::DataTypeNumber> const&) const @ 0x000000000ab4095a 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber> const&)&&) @ 0x000000000ab3ffd7 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>>(std::shared_ptr const&, DB::DataTypeNumber> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ab3fcb1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab3fc06 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab3fba0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab3fb40 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab3faeb 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.593792 [ 10263 ] {f51cfe4a-2366-4a4a-a265-d3496522f7f0} executeQuery: Code: 70. DB::Exception: Value in column Int16 cannot be safely converted into type Int8: In scope SELECT accurateCast(-129, 'Int8'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-129, 'Int8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber<_BitInt(8)>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab5deb0 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)::operator(), std>>('lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)) const @ 0x000000000ab5949a 8. /build/src/Core/callOnTypeIndex.h:186: bool DB::callOnIndexAndDataType, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)>(DB::TypeIndex, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)&&) @ 0x000000000ab58a12 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const @ 0x000000000ab586d1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab58626 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab585c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab58560 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab5850b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.594947 [ 10263 ] {f51cfe4a-2366-4a4a-a265-d3496522f7f0} TCPHandler: Code: 70. DB::Exception: Value in column Int16 cannot be safely converted into type Int8: In scope SELECT accurateCast(-129, 'Int8'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber<_BitInt(8)>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab5deb0 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)::operator(), std>>('lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)) const @ 0x000000000ab5949a 8. /build/src/Core/callOnTypeIndex.h:186: bool DB::callOnIndexAndDataType, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)>(DB::TypeIndex, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)&&) @ 0x000000000ab58a12 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const @ 0x000000000ab586d1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab58626 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab585c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab58560 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab5850b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.802906 [ 10263 ] {59bdb568-643b-4cba-9008-e7dcb74d5956} executeQuery: Code: 70. DB::Exception: Value in column UInt8 cannot be safely converted into type Int8: In scope SELECT accurateCast(128, 'Int8'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(128, 'Int8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber<_BitInt(8)>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab5a1ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)::operator(), std>>('lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)) const @ 0x000000000ab58cba 8. /build/src/Core/callOnTypeIndex.h:178: bool DB::callOnIndexAndDataType, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)>(DB::TypeIndex, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)&&) @ 0x000000000ab5896a 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const @ 0x000000000ab586d1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab58626 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab585c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab58560 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab5850b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:20.804361 [ 10263 ] {59bdb568-643b-4cba-9008-e7dcb74d5956} TCPHandler: Code: 70. DB::Exception: Value in column UInt8 cannot be safely converted into type Int8: In scope SELECT accurateCast(128, 'Int8'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber<_BitInt(8)>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ab5a1ae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)::operator(), std>>('lambda'(DB::DataTypeNumber<_BitInt(8)> const*&)) const @ 0x000000000ab58cba 8. /build/src/Core/callOnTypeIndex.h:178: bool DB::callOnIndexAndDataType, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)>(DB::TypeIndex, std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(DB::ColumnNullable, DB::(anonymous namespace) const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const::'lambda'(DB::(anonymous namespace) const*&)&&) @ 0x000000000ab5896a 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(DB::ColumnNullable, DB::DataTypeNumber<_BitInt(8)> const*, bool) const::'lambda'(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long)::operator()(std::function::shared_ptr, DB::ColumnNullable, COW::immutable_ptr> (std::function::vector>&, std::function::shared_ptr const&, DB::ColumnNullable const*, unsigned long), unsigned long) const @ 0x000000000ab586d1 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab58626 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab585c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab58560 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab5850b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 18. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 19. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 20. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 21. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 22. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:21.022503 [ 10263 ] {80aba286-d534-4170-9412-eef846e7e4b8} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: 10000000000 is not in range (-2147483648, 2147483647): In scope SELECT accurateCast(10, 'Decimal32(9)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(10, 'Decimal32(9)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5027d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f548bf 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ac1400d 10. /build/src/Functions/FunctionsConversion.cpp:3389: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac11e01 11. /build/src/Core/callOnTypeIndex.h:178: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11aca 12. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 21. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 22. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 23. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 24. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:39:21.023622 [ 10263 ] {80aba286-d534-4170-9412-eef846e7e4b8} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: 10000000000 is not in range (-2147483648, 2147483647): In scope SELECT accurateCast(10, 'Decimal32(9)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5027d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f548bf 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ac1400d 10. /build/src/Functions/FunctionsConversion.cpp:3389: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac11e01 11. /build/src/Core/callOnTypeIndex.h:178: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11aca 12. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 21. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 22. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 23. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 24. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:39:21.293308 [ 10263 ] {b3280f65-9178-4be8-90a3-5994fa4351bd} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: -10000000000 is not in range (-2147483648, 2147483647): In scope SELECT accurateCast(-10, 'Decimal32(9)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-10, 'Decimal32(9)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber<_BitInt(8)>::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f501be 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber<_BitInt(8)>::FieldType const&, unsigned int) @ 0x0000000019f5487f 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ac18ecd 10. /build/src/Functions/FunctionsConversion.cpp:3389: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac12641 11. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11b57 12. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 21. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 22. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 23. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 24. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:39:21.294584 [ 10263 ] {b3280f65-9178-4be8-90a3-5994fa4351bd} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: -10000000000 is not in range (-2147483648, 2147483647): In scope SELECT accurateCast(-10, 'Decimal32(9)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber<_BitInt(8)>::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f501be 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber<_BitInt(8)>::FieldType const&, unsigned int) @ 0x0000000019f5487f 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000ac18ecd 10. /build/src/Functions/FunctionsConversion.cpp:3389: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac12641 11. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11b57 12. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 19. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 20. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 21. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 22. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 23. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 24. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:39:21.314274 [ 10263 ] {1d1a5f74-d197-40b1-a8fc-ed0d67405702} executeQuery: Code: 131. DB::Exception: String too long for type FixedString(2): In scope SELECT accurateCast('123', 'FixedString(2)'). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast('123', 'FixedString(2)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:100: COW::immutable_ptr DB::FunctionToFixedString::executeForN<(DB::ConvertToFixedStringExceptionMode)0>(std::vector> const&, unsigned long) @ 0x000000000afddb36 7. /build/src/Functions/FunctionsConversion.cpp:0: DB::(anonymous namespace)::FunctionCast::createFixedStringWrapper(std::shared_ptr const&, unsigned long) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad3ed6b 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3ece6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3ec80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3ec20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3ebc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:21.314953 [ 10263 ] {1d1a5f74-d197-40b1-a8fc-ed0d67405702} TCPHandler: Code: 131. DB::Exception: String too long for type FixedString(2): In scope SELECT accurateCast('123', 'FixedString(2)'). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:100: COW::immutable_ptr DB::FunctionToFixedString::executeForN<(DB::ConvertToFixedStringExceptionMode)0>(std::vector> const&, unsigned long) @ 0x000000000afddb36 7. /build/src/Functions/FunctionsConversion.cpp:0: DB::(anonymous namespace)::FunctionCast::createFixedStringWrapper(std::shared_ptr const&, unsigned long) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ad3ed6b 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad3ece6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad3ec80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad3ec20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad3ebc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:21.543359 [ 10263 ] {4d05d4a4-e681-4f79-b53e-701472a30bee} executeQuery: Code: 70. DB::Exception: Value -1 cannot be safely converted into type UInt32: In scope SELECT accurateCast(-1, 'DateTime'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'DateTime');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8) const&, std::basic_string_view> const&>(int, FormatStringHelperImpl::type, std::basic_string_view::type_identity> const&>::type>, std::basic_string_view::type_identity<_BitInt(8) const&>&&, std::basic_string_view::type_identity> const&>&&) @ 0x000000000afb99ac 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 4096ul, Allocator, 63ul, 64ul>, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>&, DateLUTImpl const&, DB::DateTimeAccurateConvertStrategyAdditions const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>*) @ 0x000000000ace5f9c 7. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr> DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false> const&) @ 0x000000000ace5c19 8. /build/src/Functions/FunctionsConversion.cpp:1254: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ace58f1 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)::operator(), DB::DataTypeDateTime>>(DB::DataTypeDateTime const&) const @ 0x000000000acdcdcb 10. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)&&) @ 0x000000000acdbd37 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acdba11 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdb966 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdb900 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdb8a0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdb84b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:21.544484 [ 10263 ] {4d05d4a4-e681-4f79-b53e-701472a30bee} TCPHandler: Code: 70. DB::Exception: Value -1 cannot be safely converted into type UInt32: In scope SELECT accurateCast(-1, 'DateTime'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8) const&, std::basic_string_view> const&>(int, FormatStringHelperImpl::type, std::basic_string_view::type_identity> const&>::type>, std::basic_string_view::type_identity<_BitInt(8) const&>&&, std::basic_string_view::type_identity> const&>&&) @ 0x000000000afb99ac 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 4096ul, Allocator, 63ul, 64ul>, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>&, DateLUTImpl const&, DB::DateTimeAccurateConvertStrategyAdditions const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>*) @ 0x000000000ace5f9c 7. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr> DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransformSigned, unsigned int, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false> const&) @ 0x000000000ace5c19 8. /build/src/Functions/FunctionsConversion.cpp:1254: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ace58f1 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)::operator(), DB::DataTypeDateTime>>(DB::DataTypeDateTime const&) const @ 0x000000000acdcdcb 10. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)&&) @ 0x000000000acdbd37 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acdba11 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdb966 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdb900 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdb8a0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdb84b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:21.812445 [ 10263 ] {acf0729d-57d5-4b82-a39c-7b835041808c} executeQuery: Code: 70. DB::Exception: Value 4294967296 cannot be safely converted into type UInt32: In scope SELECT accurateCast(4294967295 + 1, 'DateTime'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(0xFFFFFFFF + 1, 'DateTime');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception> const&>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type>, unsigned long const&, std::basic_string_view> const&) @ 0x000000000afb950c 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransform64, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTimeTransform64 const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000ace2739 7. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransform64, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTimeTransform64 const&) @ 0x000000000ace23b9 8. /build/src/Functions/FunctionsConversion.cpp:1260: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ace2091 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)::operator(), DB::DataTypeDateTime>>(DB::DataTypeDateTime const&) const @ 0x000000000acdc70b 10. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)&&) @ 0x000000000acdbcf2 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acdba11 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdb966 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdb900 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdb8a0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdb84b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:21.813652 [ 10263 ] {acf0729d-57d5-4b82-a39c-7b835041808c} TCPHandler: Code: 70. DB::Exception: Value 4294967296 cannot be safely converted into type UInt32: In scope SELECT accurateCast(4294967295 + 1, 'DateTime'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception> const&>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type>, unsigned long const&, std::basic_string_view> const&) @ 0x000000000afb950c 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransform64, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTimeTransform64 const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000ace2739 7. /build/src/Functions/DateTimeTransforms.h:2150: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::ToDateTimeTransform64, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTimeTransform64 const&) @ 0x000000000ace23b9 8. /build/src/Functions/FunctionsConversion.cpp:1260: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDateTime, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ace2091 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)::operator(), DB::DataTypeDateTime>>(DB::DataTypeDateTime const&) const @ 0x000000000acdc70b 10. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDateTime const&)&&) @ 0x000000000acdbcf2 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDateTime const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000acdba11 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000acdb966 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000acdb900 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000acdb8a0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000acdb84b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:22.040069 [ 10263 ] {4dee0f97-a269-40c5-aff8-ca501e7c1c22} executeQuery: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: In scope SELECT accurateCast('1xxx', 'DateTime'). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast('1xxx', 'DateTime');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:39:22.041372 [ 10263 ] {4dee0f97-a269-40c5-aff8-ca501e7c1c22} TCPHandler: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: In scope SELECT accurateCast('1xxx', 'DateTime'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:39:22.324754 [ 10263 ] {6605fa07-7be2-41f2-be18-e4befae6a786} executeQuery: Code: 70. DB::Exception: Value -1 cannot be safely converted into type UInt16: In scope SELECT accurateCast(-1, 'Date'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(-1, 'Date');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8) const&, std::basic_string_view> const&>(int, FormatStringHelperImpl::type, std::basic_string_view::type_identity> const&>::type>, std::basic_string_view::type_identity<_BitInt(8) const&>&&, std::basic_string_view::type_identity> const&>&&) @ 0x000000000afb99ac 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 4096ul, Allocator, 63ul, 64ul>, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>&, DateLUTImpl const&, DB::DateTimeAccurateConvertStrategyAdditions const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>*) @ 0x000000000ac7891c 7. /build/src/Functions/DateTimeTransforms.h:2159: COW::immutable_ptr> DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false> const&) @ 0x000000000ac78655 8. /build/src/Functions/FunctionsConversion.cpp:1208: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDate, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ac78271 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)::operator(), DB::DataTypeDate>>(DB::DataTypeDate const&) const @ 0x000000000ac6f98b 10. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)&&) @ 0x000000000ac6e8f7 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac6e5d1 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac6e526 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac6e4c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac6e460 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac6e40b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:22.325841 [ 10263 ] {6605fa07-7be2-41f2-be18-e4befae6a786} TCPHandler: Code: 70. DB::Exception: Value -1 cannot be safely converted into type UInt16: In scope SELECT accurateCast(-1, 'Date'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<_BitInt(8) const&, std::basic_string_view> const&>(int, FormatStringHelperImpl::type, std::basic_string_view::type_identity> const&>::type>, std::basic_string_view::type_identity<_BitInt(8) const&>&&, std::basic_string_view::type_identity> const&>&&) @ 0x000000000afb99ac 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 4096ul, Allocator, 63ul, 64ul>, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>&, DateLUTImpl const&, DB::DateTimeAccurateConvertStrategyAdditions const&, Allocator, 4096ul, Allocator, 63ul, 64ul>, 63ul, 64ul>*) @ 0x000000000ac7891c 7. /build/src/Functions/DateTimeTransforms.h:2159: COW::immutable_ptr> DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform8Or16Signed, (DB::FormatSettings::DateTimeOverflowBehavior)0>, false> const&) @ 0x000000000ac78655 8. /build/src/Functions/FunctionsConversion.cpp:1208: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDate, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ac78271 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)::operator(), DB::DataTypeDate>>(DB::DataTypeDate const&) const @ 0x000000000ac6f98b 10. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)&&) @ 0x000000000ac6e8f7 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac6e5d1 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac6e526 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac6e4c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac6e460 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac6e40b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:22.538514 [ 10263 ] {9f6b5380-709a-48eb-9c46-af955f9f0f4d} executeQuery: Code: 70. DB::Exception: Value 4294967296 cannot be safely converted into type UInt16: In scope SELECT accurateCast(4294967295 + 1, 'Date'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast(0xFFFFFFFF + 1, 'Date');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception> const&>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type>, unsigned long const&, std::basic_string_view> const&) @ 0x000000000afb950c 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform32Or64, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTransform32Or64 const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000ac74e99 7. /build/src/Functions/DateTimeTransforms.h:2159: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform32Or64, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTransform32Or64 const&) @ 0x000000000ac74bd5 8. /build/src/Functions/FunctionsConversion.cpp:1200: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDate, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ac747f1 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)::operator(), DB::DataTypeDate>>(DB::DataTypeDate const&) const @ 0x000000000ac6f2cb 10. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)&&) @ 0x000000000ac6e8b2 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac6e5d1 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac6e526 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac6e4c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac6e460 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac6e40b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:22.662643 [ 10217 ] {d186d7ac-c565-4b8e-af0a-dd87c1cfe90b} executeQuery: Code: 6. DB::Exception: Cannot parse string 'a' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION nullIn('a'_String :: 2, __set_11158774537784030992_7151795505194503884 :: 1) -> nullIn('a'_String, __set_11158774537784030992_7151795505194503884) UInt8 : 3'. (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:38468) (comment: 01600_select_in_different_types.sql) (in query: SELECT 'a' IN (SELECT 1) SETTINGS transform_null_in = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 27. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 28. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 29. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 30. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 31. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 2025.03.05 21:39:22.662728 [ 10263 ] {9f6b5380-709a-48eb-9c46-af955f9f0f4d} TCPHandler: Code: 70. DB::Exception: Value 4294967296 cannot be safely converted into type UInt16: In scope SELECT accurateCast(4294967295 + 1, 'Date'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception> const&>(int, FormatStringHelperImpl::type, std::type_identity> const&>::type>, unsigned long const&, std::basic_string_view> const&) @ 0x000000000afb950c 6. /build/src/Functions/DateTimeTransforms.h:2108: void DB::Transformer, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform32Or64, false, DB::DateTimeAccurateConvertStrategyAdditions>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::(anonymous namespace)::ToDateTransform32Or64 const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000000ac74e99 7. /build/src/Functions/DateTimeTransforms.h:2159: COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDate, DB::(anonymous namespace)::ToDateTransform32Or64, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::ToDateTransform32Or64 const&) @ 0x000000000ac74bd5 8. /build/src/Functions/FunctionsConversion.cpp:1200: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDate, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::DateTimeAccurateConvertStrategyAdditions) @ 0x000000000ac747f1 9. /build/src/Functions/FunctionsConversion.cpp:3213: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)::operator(), DB::DataTypeDate>>(DB::DataTypeDate const&) const @ 0x000000000ac6f2cb 10. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDate const&)&&) @ 0x000000000ac6e8b2 11. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper(std::shared_ptr const&, DB::DataTypeDate const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac6e5d1 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac6e526 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac6e4c0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac6e460 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac6e40b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:39:22.664174 [ 10217 ] {d186d7ac-c565-4b8e-af0a-dd87c1cfe90b} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'a' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION nullIn('a'_String :: 2, __set_11158774537784030992_7151795505194503884 :: 1) -> nullIn('a'_String, __set_11158774537784030992_7151795505194503884) UInt8 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 27. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 28. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 29. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 30. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 31. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 2025.03.05 21:39:22.894003 [ 10263 ] {b05fd9f3-cd07-4454-9861-ccb00157a9df} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT accurateCast('1xxx', 'Date'). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: SELECT accurateCast('1xxx', 'Date');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:39:23.031058 [ 10217 ] {90878de0-3256-421d-b2b0-486142d71eee} executeQuery: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt8: while executing 'FUNCTION nullIn(-1_Int8 :: 2, __set_11158774537784030992_7151795505194503884 :: 1) -> nullIn(-1_Int8, __set_11158774537784030992_7151795505194503884) UInt8 : 3'. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:38468) (comment: 01600_select_in_different_types.sql) (in query: SELECT -1 IN (SELECT 1) SETTINGS transform_null_in = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac6dae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac26da 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1d57 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 22. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 23. /build/src/Interpreters/Set.cpp:331: DB::Set::execute(std::vector> const&, bool) const @ 0x000000001b8d2cd6 24. /build/src/Functions/in.cpp:150: DB::(anonymous namespace)::FunctionIn::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e63a5b0 25. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 26. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 27. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 28. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 29. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 30. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 31. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 2025.03.05 21:39:23.031179 [ 10263 ] {b05fd9f3-cd07-4454-9861-ccb00157a9df} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT accurateCast('1xxx', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:39:23.032587 [ 10217 ] {90878de0-3256-421d-b2b0-486142d71eee} TCPHandler: Code: 70. DB::Exception: Value in column Int8 cannot be safely converted into type UInt8: while executing 'FUNCTION nullIn(-1_Int8 :: 2, __set_11158774537784030992_7151795505194503884 :: 1) -> nullIn(-1_Int8, __set_11158774537784030992_7151795505194503884) UInt8 : 3'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:1797: COW::immutable_ptr> DB::(anonymous namespace)::ConvertImpl, DB::DataTypeNumber, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::vector::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, DB::(anonymous namespace)::AccurateConvertStrategyAdditions) @ 0x000000000aac6dae 7. /build/src/Functions/FunctionsConversion.cpp:3234: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)::operator(), DB::DataTypeNumber>>(DB::DataTypeNumber const&) const @ 0x000000000aac26da 8. /build/src/Core/callOnTypeIndex.h:185: bool DB::callOnIndexAndDataType, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeNumber const&)&&) @ 0x000000000aac1d57 9. /build/src/Functions/FunctionsConversion.cpp:3192: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createWrapper>(std::shared_ptr const&, DB::DataTypeNumber const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aac1a31 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aac1986 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aac1920 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aac18c0 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aac186b 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 16. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::CastType, DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb5893f 22. /build/src/Interpreters/castColumn.cpp:51: DB::castColumnAccurate(DB::ColumnWithTypeAndName const&, std::shared_ptr const&, DB::InternalCastFunctionCache*) @ 0x000000001bb589f5 23. /build/src/Interpreters/Set.cpp:331: DB::Set::execute(std::vector> const&, bool) const @ 0x000000001b8d2cd6 24. /build/src/Functions/in.cpp:150: DB::(anonymous namespace)::FunctionIn::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e63a5b0 25. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 26. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 27. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 28. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 29. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 30. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 31. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 2025.03.05 21:39:23.286902 [ 10263 ] {e1cb4e2e-d7d4-45ff-83d2-4576bd056fb8} executeQuery: Code: 467. DB::Exception: Cannot parse boolean value here: 'test', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('test', 'Bool'). (CANNOT_PARSE_BOOL) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('test', 'Bool');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.287738 [ 10263 ] {e1cb4e2e-d7d4-45ff-83d2-4576bd056fb8} TCPHandler: Code: 467. DB::Exception: Cannot parse boolean value here: 'test', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('test', 'Bool'). (CANNOT_PARSE_BOOL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.302548 [ 10263 ] {e973769e-dade-4eb6-919a-4d8b1431a4f2} executeQuery: Code: 467. DB::Exception: Cannot parse boolean value here: 'truex', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('truex', 'Bool'). (CANNOT_PARSE_BOOL) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('truex', 'Bool');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.303245 [ 10263 ] {e973769e-dade-4eb6-919a-4d8b1431a4f2} TCPHandler: Code: 467. DB::Exception: Cannot parse boolean value here: 'truex', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('truex', 'Bool'). (CANNOT_PARSE_BOOL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.318340 [ 10263 ] {139f809a-d693-4379-91af-d0a01b31e072} executeQuery: Code: 467. DB::Exception: Cannot parse boolean value here: 'xfalse', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('xfalse', 'Bool'). (CANNOT_PARSE_BOOL) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('xfalse', 'Bool');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.319189 [ 10263 ] {139f809a-d693-4379-91af-d0a01b31e072} TCPHandler: Code: 467. DB::Exception: Cannot parse boolean value here: 'xfalse', should be 'true' or 'false' controlled by setting bool_true_representation and bool_false_representation or one of True/False/T/F/Y/N/Yes/No/On/Off/Enable/Disable/Enabled/Disabled/1/0: In scope SELECT accurateCast('xfalse', 'Bool'). (CANNOT_PARSE_BOOL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String const&) @ 0x000000000a909da8 6. /build/src/DataTypes/Serializations/SerializationBool.cpp:212: void DB::(anonymous namespace)::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::function) @ 0x0000000019fe6e7e 7. /build/src/DataTypes/Serializations/SerializationBool.cpp:436: DB::SerializationBool::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000019fe871f 8. /build/src/Functions/FunctionsConversion.cpp:1856: DB::(anonymous namespace)::ConvertImplGenericFromString::executeImpl(DB::IColumn const&, DB::IColumn&, DB::ISerialization const&, unsigned long, DB::PODArray, 63ul, 64ul> const*, DB::IDataType const*) @ 0x000000000aa93198 9. /build/src/Functions/FunctionsConversion.cpp:1829: DB::(anonymous namespace)::ConvertImplGenericFromString::execute(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000aa92fcb 10. /build/src/Functions/FunctionsConversion.cpp:4710: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa92e4a 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa92d66 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa92d00 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa92ca0 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa92c48 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 17. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 18. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:39:23.532572 [ 10263 ] {904dc680-42bb-4529-b134-dbbf92899935} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('test', 'IPv4'). (CANNOT_PARSE_IPV4) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('test', 'IPv4');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.533405 [ 10263 ] {904dc680-42bb-4529-b134-dbbf92899935} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('test', 'IPv4'). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.548883 [ 10263 ] {0b74fea6-30a3-4680-a104-e9245e54222d} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('2001:db8::1', 'IPv4'). (CANNOT_PARSE_IPV4) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('2001:db8::1', 'IPv4');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.549820 [ 10263 ] {0b74fea6-30a3-4680-a104-e9245e54222d} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('2001:db8::1', 'IPv4'). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.564744 [ 10263 ] {9fa66254-f73e-4eae-a63f-ed0b7a578127} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('::ffff:192.0.2.1', 'IPv4'). (CANNOT_PARSE_IPV4) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('::ffff:192.0.2.1', 'IPv4');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.565487 [ 10263 ] {9fa66254-f73e-4eae-a63f-ed0b7a578127} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('::ffff:192.0.2.1', 'IPv4'). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.607511 [ 10263 ] {83b18a00-56fe-49b6-85ff-420b06104301} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('192.0.2.1x', 'IPv4'). (CANNOT_PARSE_IPV4) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('192.0.2.1x', 'IPv4');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.608352 [ 10263 ] {83b18a00-56fe-49b6-85ff-420b06104301} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: In scope SELECT accurateCast('192.0.2.1x', 'IPv4'). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5f7ee 7. /build/src/Functions/FunctionsConversion.cpp:4667: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d0e7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9cde6 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9cd80 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9cd20 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9ccc8 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 14. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 15. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:39:23.652876 [ 10263 ] {177f64ce-9d00-4df4-8334-a1dfa51ac9af} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT accurateCast('test', 'IPv6'). (CANNOT_PARSE_IPV6) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('test', 'IPv6');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:39:23.653629 [ 10263 ] {177f64ce-9d00-4df4-8334-a1dfa51ac9af} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT accurateCast('test', 'IPv6'). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:39:23.726008 [ 10263 ] {5b99b3b9-db3f-4805-8d5f-3bab2b942922} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT accurateCast('2001:db8::1x', 'IPv6'). (CANNOT_PARSE_IPV6) (version 24.3.12.76.altinitystable) (from [::1]:38456) (comment: 01601_accurate_cast.sql) (in query: select accurateCast('2001:db8::1x', 'IPv6');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:39:23.726865 [ 10263 ] {5b99b3b9-db3f-4805-8d5f-3bab2b942922} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: In scope SELECT accurateCast('2001:db8::1x', 'IPv6'). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af61f51 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000af5fea0 8. /build/src/Functions/FunctionsConversion.cpp:4693: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aa9d887 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aa9d586 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aa9d520 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aa9d4c0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aa9d468 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 15. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 16. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:39:32.491465 [ 15113 ] {5baab4bf-37dd-4295-a044-4a84ca07b0ae} executeQuery: Code: 36. DB::Exception: Unsupported aggregate function count, supported functions are any,anyLast,min,max,sum,sumWithOverflow,groupBitAnd,groupBitOr,groupBitXor,sumMap,minMap,maxMap,groupArrayArray,groupArrayLastArray,groupUniqArrayArray,sumMappedArrays,minMappedArrays,maxMappedArrays. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:58796) (comment: 01570_aggregator_combinator_simple_state.sql) (in query: -- non-SimpleAggregateFunction with countSimpleState(number) as c select toTypeName(c), c from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/DataTypes/DataTypeCustomSimpleAggregateFunction.cpp:57: DB::DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions(std::shared_ptr const&) @ 0x0000000019ec895d 7. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.h:35: DB::AggregateFunctionSimpleState::createResultType(std::shared_ptr const&, DB::Array const&) @ 0x00000000160124fc 8. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.h:23: DB::AggregateFunctionSimpleState::AggregateFunctionSimpleState(std::shared_ptr, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001601241d 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionSimpleState* std::construct_at[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionSimpleState*>(DB::AggregateFunctionSimpleState*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160342c9 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::AggregateFunctionSimpleState*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016034231 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160341b7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160340ca 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016034056 14. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.cpp:22: DB::(anonymous namespace)::AggregateFunctionCombinatorSimpleState::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000016033d4d 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:32.492504 [ 15113 ] {5baab4bf-37dd-4295-a044-4a84ca07b0ae} TCPHandler: Code: 36. DB::Exception: Unsupported aggregate function count, supported functions are any,anyLast,min,max,sum,sumWithOverflow,groupBitAnd,groupBitOr,groupBitXor,sumMap,minMap,maxMap,groupArrayArray,groupArrayLastArray,groupUniqArrayArray,sumMappedArrays,minMappedArrays,maxMappedArrays. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/DataTypes/DataTypeCustomSimpleAggregateFunction.cpp:57: DB::DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions(std::shared_ptr const&) @ 0x0000000019ec895d 7. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.h:35: DB::AggregateFunctionSimpleState::createResultType(std::shared_ptr const&, DB::Array const&) @ 0x00000000160124fc 8. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.h:23: DB::AggregateFunctionSimpleState::AggregateFunctionSimpleState(std::shared_ptr, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001601241d 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionSimpleState* std::construct_at[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionSimpleState*>(DB::AggregateFunctionSimpleState*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160342c9 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::AggregateFunctionSimpleState*, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016034231 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&>(std::allocator, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160341b7 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000160340ca 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::shared_ptr const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016034056 14. /build/src/AggregateFunctions/Combinators/AggregateFunctionSimpleState.cpp:22: DB::(anonymous namespace)::AggregateFunctionCombinatorSimpleState::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000016033d4d 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:249: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9e32 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:39:35.524073 [ 15114 ] {16a22c97-2d3e-4d9c-bf35-02e60d5ac9cc} executeQuery: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:58860) (comment: 01557_field_infinite_convert_to_number.sql) (in query: SET max_threads = nan;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/SettingsFields.cpp:88: unsigned long DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000019dc88bb 7. /build/src/Core/SettingsFields.cpp:223: DB::(anonymous namespace)::fieldToMaxThreads(DB::Field const&) @ 0x0000000019dcb2e1 8. /build/src/Core/SettingsFields.cpp:227: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x0000000019dcb281 9. /build/src/Core/Settings.cpp:21: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda31'(DB::Field const&)::operator()(DB::Field const&) const @ 0x0000000019aac94c 10. /build/src/Core/Settings.cpp:21: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda31'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000019aac904 11. /build/src/Core/Settings.h:1221: DB::SettingsTraits::Accessor::castValueUtil(unsigned long, DB::Field const&) const @ 0x000000001974c41e 12. /build/src/Core/BaseSettings.h:413: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x000000001974c3a6 13. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001974abab 14. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000019746160 15. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 16. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 17. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 18. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:39:35.525079 [ 15114 ] {16a22c97-2d3e-4d9c-bf35-02e60d5ac9cc} TCPHandler: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/SettingsFields.cpp:88: unsigned long DB::(anonymous namespace)::fieldToNumber(DB::Field const&) @ 0x0000000019dc88bb 7. /build/src/Core/SettingsFields.cpp:223: DB::(anonymous namespace)::fieldToMaxThreads(DB::Field const&) @ 0x0000000019dcb2e1 8. /build/src/Core/SettingsFields.cpp:227: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x0000000019dcb281 9. /build/src/Core/Settings.cpp:21: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda31'(DB::Field const&)::operator()(DB::Field const&) const @ 0x0000000019aac94c 10. /build/src/Core/Settings.cpp:21: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda31'(DB::Field const&)::__invoke(DB::Field const&) @ 0x0000000019aac904 11. /build/src/Core/Settings.h:1221: DB::SettingsTraits::Accessor::castValueUtil(unsigned long, DB::Field const&) const @ 0x000000001974c41e 12. /build/src/Core/BaseSettings.h:413: DB::BaseSettings::castValueUtil(std::basic_string_view>, DB::Field const&) @ 0x000000001974c3a6 13. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001974abab 14. /build/src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000019746160 15. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 16. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 17. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 18. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:39:36.078746 [ 15113 ] {cba7544e-bb0e-4341-9764-eddc7da34d26} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:58846). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:58846) (comment: 02044_url_glob_parallel.sh) (in query: SELECT * FROM url('http://127.0.0.{1..10}:8123/?query=SELECT+sleep(1)', TSV, 'x UInt8')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:39:36.104740 [ 15113 ] {cba7544e-bb0e-4341-9764-eddc7da34d26} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:58846). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:39:36.105359 [ 15113 ] {cba7544e-bb0e-4341-9764-eddc7da34d26} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:58846). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001d47d4ff 9. /build/src/Server/TCPHandler.cpp:1027: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479bc8 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:39:36.106115 [ 15113 ] {cba7544e-bb0e-4341-9764-eddc7da34d26} TCPHandler: Client has gone away. 2025.03.05 21:40:11.094384 [ 15113 ] {ef6fa3e4-95c5-4da2-9b93-c417575ae26d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 GiB (attempt to allocate chunk of 134218064 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:40298) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(shardNum() = 2, 100000, 1))) AS `groupArray(repeat('a', if(equals(_shard_num, 2), 100000, 1)))`, `__table1`.`number` % 100000 AS `k` FROM `system`.`numbers` AS `__table1` GROUP BY `__table1`.`number` % 100000 LIMIT _CAST(10000000, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:435: DB::(anonymous namespace)::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000013cc7f87 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:550: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedab 17. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 18. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 19. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 20. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a92f687 21. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a925445 22. /build/src/Interpreters/Aggregator.cpp:992: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d169d 23. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728b48 24. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 25. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 2025.03.05 21:40:11.214710 [ 15113 ] {ef6fa3e4-95c5-4da2-9b93-c417575ae26d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 GiB (attempt to allocate chunk of 134218064 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:435: DB::(anonymous namespace)::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000013cc7f87 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:550: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedab 17. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 18. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 19. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 20. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a92f687 21. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a925445 22. /build/src/Interpreters/Aggregator.cpp:992: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d169d 23. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728b48 24. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 25. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 2025.03.05 21:40:11.313855 [ 20553 ] {47e56c56-a49b-42d2-912a-c80920fc5b9c} executeQuery: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.02 GiB (attempt to allocate chunk of 134218064 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:435: DB::(anonymous namespace)::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000013cc7f87 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:550: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedab 17. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 18. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 19. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 20. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a92f687 21. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a925445 22. /build/src/Interpreters/Aggregator.cpp:992: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d169d 23. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728b48 24. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 25. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:59476) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(_shard_num == 2, 100000, 1))), number%100000 k from remote('127.{2,3}', system.numbers) GROUP BY k LIMIT 10e6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/IO/ReadHelpers.cpp:1560: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013368d82 7. /build/src/Client/Connection.cpp:1233: DB::Connection::receiveException() const @ 0x000000001d2bca59 8. /build/src/Client/Connection.cpp:1070: DB::Connection::receivePacket() @ 0x000000001d2c3fb1 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001d330ea4 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000019ebcc69 11. /build/src/Common/Fiber.h:76: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x0000000019ebcb78 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ebcb08 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: ? @ 0x0000000019ebcac8 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x0000000019ebc9fe 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x0000000019ebc71d 2025.03.05 21:40:11.324428 [ 20553 ] {47e56c56-a49b-42d2-912a-c80920fc5b9c} TCPHandler: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.02 GiB (attempt to allocate chunk of 134218064 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:435: DB::(anonymous namespace)::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x0000000013cc7f87 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:550: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedab 17. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 18. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 19. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 20. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a92f687 21. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, unsigned int, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a925445 22. /build/src/Interpreters/Aggregator.cpp:992: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d169d 23. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728b48 24. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 25. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 29. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 30. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 31. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/IO/ReadHelpers.cpp:1560: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013368d82 7. /build/src/Client/Connection.cpp:1233: DB::Connection::receiveException() const @ 0x000000001d2bca59 8. /build/src/Client/Connection.cpp:1070: DB::Connection::receivePacket() @ 0x000000001d2c3fb1 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001d330ea4 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x0000000019ebcc69 11. /build/src/Common/Fiber.h:76: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x0000000019ebcb78 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019ebcb08 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: ? @ 0x0000000019ebcac8 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x0000000019ebc9fe 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x0000000019ebc71d 2025.03.05 21:40:11.523174 [ 10217 ] {308cf5e1-897e-4793-9f2b-b44fb131bbfb} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:46740). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:46740) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(shardNum() = 2, 100000, 1))) AS `groupArray(repeat('a', if(equals(_shard_num, 2), 100000, 1)))`, `__table1`.`number` % 100000 AS `k` FROM `system`.`numbers` AS `__table1` GROUP BY `__table1`.`number` % 100000 LIMIT _CAST(10000000, 'UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2217: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c18f 9. /build/src/Server/TCPHandler.cpp:1084: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479faa 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:40:11.539594 [ 10217 ] {308cf5e1-897e-4793-9f2b-b44fb131bbfb} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:46740). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:40:11.540009 [ 10217 ] {308cf5e1-897e-4793-9f2b-b44fb131bbfb} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:46740). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:158: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e75a4 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2217: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c18f 9. /build/src/Server/TCPHandler.cpp:1084: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479faa 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:40:11.540514 [ 10217 ] {308cf5e1-897e-4793-9f2b-b44fb131bbfb} TCPHandler: Client has gone away. 2025.03.05 21:40:19.643075 [ 10263 ] {acb344a2-3412-492c-b7f0-0b8f7210f922} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.82 MiB (attempt to allocate chunk of 134479904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:53218) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: select key, groupArray(repeat('a', 200)), count() from data_01513 group by key format Null settings optimize_aggregation_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Common/Arena.h:321: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x0000000013d3bfad 16. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000013d41b78 17. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000013d419c7 18. /build/src/Common/PODArray.h:149: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000013d418e7 19. /build/src/Common/PODArray.h:180: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000013d41818 20. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::(anonymous namespace)::GroupArrayNodeString*&, DB::Arena*&) @ 0x0000000013cf0869 21. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:565: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedc4 22. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 23. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 24. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 25. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch>, false>, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a943763 26. /build/src/Interpreters/Aggregator.cpp:1036: void DB::Aggregator::executeImpl>, false>, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9399af 27. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d1af6 28. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728c56 29. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 30. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 31. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 2025.03.05 21:40:19.679155 [ 10263 ] {acb344a2-3412-492c-b7f0-0b8f7210f922} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.82 MiB (attempt to allocate chunk of 134479904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Common/Arena.h:321: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x0000000013d3bfad 16. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000013d41b78 17. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000013d419c7 18. /build/src/Common/PODArray.h:149: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000013d418e7 19. /build/src/Common/PODArray.h:180: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000013d41818 20. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::(anonymous namespace)::GroupArrayNodeString*&, DB::Arena*&) @ 0x0000000013cf0869 21. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:565: DB::(anonymous namespace)::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013ceedc4 22. /build/src/AggregateFunctions/IAggregateFunction.h:473: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013cef54b 23. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatch(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char**, DB::Arena*) @ 0x000000001a72e503 24. /build/src/Interpreters/Aggregator.cpp:1303: DB::Aggregator::executeAggregateInstructions(DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, std::unique_ptr> const&, unsigned long, bool, bool, bool) const @ 0x000000001a72e2a2 25. /build/src/Interpreters/Aggregator.cpp:1228: void DB::Aggregator::executeImplBatch>, false>, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a943763 26. /build/src/Interpreters/Aggregator.cpp:1036: void DB::Aggregator::executeImpl>, false>, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::ColumnsHashing::HashMethodString, char*, true, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9399af 27. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d1af6 28. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728c56 29. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 30. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 31. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 2025.03.05 21:40:28.065989 [ 10263 ] {9e6dbdd2-b185-4939-aa84-71b200cbf620} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 545.00 MiB (attempt to allocate chunk of 133697856 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:53218) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: -- for WITH TOTALS previous groups should be kept. select key, groupArray(repeat('a', 200)), count() from data_01513 group by key with totals format Null settings optimize_aggregation_in_order=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Common/Arena.h:340: DB::Arena::alignedInsert(char const*, unsigned long, unsigned long) @ 0x0000000013d4c429 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:393: DB::(anonymous namespace)::GroupArrayNodeBase::clone(DB::Arena*) const @ 0x0000000013cc8889 17. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:609: DB::(anonymous namespace)::GroupArrayGeneralImpl>::merge(char*, char const*, DB::Arena*) const @ 0x0000000013ceef33 18. /build/src/Columns/ColumnAggregateFunction.cpp:503: DB::ColumnAggregateFunction::insertMergeFrom(char const*) @ 0x000000001bda7982 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:273: DB::TotalsHavingTransform::addToTotals(DB::Chunk const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000001db3afb7 20. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:179: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001db3a4ae 21. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 22. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 23. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001db39e7d 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 29. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 2025.03.05 21:40:28.101790 [ 10263 ] {9e6dbdd2-b185-4939-aa84-71b200cbf620} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 545.00 MiB (attempt to allocate chunk of 133697856 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:114: Allocator::alloc(unsigned long, unsigned long) @ 0x00000000132536e6 11. /build/src/Common/Arena.h:76: DB::Arena::MemoryChunk::MemoryChunk(unsigned long) @ 0x000000000b9b93ce 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](unsigned long&) @ 0x000000000b9b948c 13. /build/src/Common/Arena.h:158: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000b9b917a 14. /build/src/Common/Arena.h:198: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000b9b8fb0 15. /build/src/Common/Arena.h:340: DB::Arena::alignedInsert(char const*, unsigned long, unsigned long) @ 0x0000000013d4c429 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:393: DB::(anonymous namespace)::GroupArrayNodeBase::clone(DB::Arena*) const @ 0x0000000013cc8889 17. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:609: DB::(anonymous namespace)::GroupArrayGeneralImpl>::merge(char*, char const*, DB::Arena*) const @ 0x0000000013ceef33 18. /build/src/Columns/ColumnAggregateFunction.cpp:503: DB::ColumnAggregateFunction::insertMergeFrom(char const*) @ 0x000000001bda7982 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:273: DB::TotalsHavingTransform::addToTotals(DB::Chunk const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000001db3afb7 20. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:179: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001db3a4ae 21. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 22. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 23. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001db39e7d 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 29. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 2025.03.05 21:41:25.999831 [ 730 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:49714). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:41:26.255166 [ 15114 ] {8fd273ea-d58c-4b2d-9025-4e51170d8c26} executeQuery: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.2:9000: While executing Remote. (TOO_DEEP_RECURSION) (version 24.3.12.76.altinitystable) (from [::1]:50034) (comment: 01675_data_type_coroutine.sh) (in query: SELECT * FROM remote('127.0.0.{1,2}', generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1)) LIMIT 1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000019144ad3 6. /build/src/Parsers/IParser.h:82: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e383546 7. /build/src/Parsers/ParserDataType.cpp:49: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a4074 8. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 9. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 10. /build/src/Parsers/ParserCreateQuery.h:69: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a00e2 11. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 12. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 13. /build/src/Parsers/ExpressionListParsers.cpp:53: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e35d0f1 14. /build/src/Parsers/ExpressionListParsers.h:40: bool DB::ParserList::parseUtil&, DB::Expected&)::$_0>(DB::IParser::Pos&, DB::Expected&, DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0 const&, DB::IParser&, bool) @ 0x000000001e354dcc 15. /build/src/Parsers/ExpressionListParsers.cpp:60: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e354c27 16. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 17. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 18. /build/src/Parsers/ParserCreateQuery.cpp:160: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e39177c 19. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 20. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 21. /build/src/Parsers/ParserCreateQuery.cpp:72: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e390e62 22. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 23. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 24. /build/src/Parsers/ParserDataType.cpp:49: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a4074 25. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 26. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 27. /build/src/Parsers/ParserDataType.cpp:40: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a6088 28. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 29. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 30. /build/src/Parsers/ExpressionListParsers.cpp:53: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e35d0f1 31. /build/src/Parsers/ExpressionListParsers.h:40: bool DB::ParserList::parseUtil&, DB::Expected&)::$_0>(DB::IParser::Pos&, DB::Expected&, DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0 const&, DB::IParser&, bool) @ 0x000000001e354dcc 2025.03.05 21:41:26.255215 [ 15116 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:46492). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:41:26.258496 [ 15114 ] {8fd273ea-d58c-4b2d-9025-4e51170d8c26} TCPHandler: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.2:9000: While executing Remote. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000019144ad3 6. /build/src/Parsers/IParser.h:82: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e383546 7. /build/src/Parsers/ParserDataType.cpp:49: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a4074 8. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 9. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 10. /build/src/Parsers/ParserCreateQuery.h:69: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a00e2 11. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 12. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 13. /build/src/Parsers/ExpressionListParsers.cpp:53: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e35d0f1 14. /build/src/Parsers/ExpressionListParsers.h:40: bool DB::ParserList::parseUtil&, DB::Expected&)::$_0>(DB::IParser::Pos&, DB::Expected&, DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0 const&, DB::IParser&, bool) @ 0x000000001e354dcc 15. /build/src/Parsers/ExpressionListParsers.cpp:60: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e354c27 16. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 17. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 18. /build/src/Parsers/ParserCreateQuery.cpp:160: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e39177c 19. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 20. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 21. /build/src/Parsers/ParserCreateQuery.cpp:72: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e390e62 22. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 23. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 24. /build/src/Parsers/ParserDataType.cpp:49: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a4074 25. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 26. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 27. /build/src/Parsers/ParserDataType.cpp:40: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3a6088 28. /build/src/Parsers/IParserBase.cpp:13: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e383709 29. /build/src/Parsers/IParserBase.h:31: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001e3835ba 30. /build/src/Parsers/ExpressionListParsers.cpp:53: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0::operator()() const @ 0x000000001e35d0f1 31. /build/src/Parsers/ExpressionListParsers.h:40: bool DB::ParserList::parseUtil&, DB::Expected&)::$_0>(DB::IParser::Pos&, DB::Expected&, DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&)::$_0 const&, DB::IParser&, bool) @ 0x000000001e354dcc 2025.03.05 21:41:26.259192 [ 15114 ] {8fd273ea-d58c-4b2d-9025-4e51170d8c26} TCPHandler: Client has gone away. 2025.03.05 21:41:42.711881 [ 20529 ] {9a71c6e4-6cdf-4339-a03c-a0927bae29fa} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 3.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:51684) (comment: 01505_trivial_count_with_partition_predicate.sql) (in query: -- non-optimized (toDate(DateTime) is always monotonic, but we cannot relaxing the predicates to do trivial count()) select count() from test1 where p > toDateTime('2020-09-01 10:00:00');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:42.713014 [ 20529 ] {9a71c6e4-6cdf-4339-a03c-a0927bae29fa} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 3.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:43.026588 [ 20529 ] {77fcc216-5d15-4926-8fe0-cb49c5650a11} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:51684) (comment: 01505_trivial_count_with_partition_predicate.sql) (in query: -- non-optimized (some predicate depends on non-partition_expr columns) select count() FROM test1 where toDate(p) = '2020-09-01' and k = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:43.027599 [ 20529 ] {77fcc216-5d15-4926-8fe0-cb49c5650a11} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:43.467588 [ 730 ] {7085c9d1-786f-476c-9630-b80aea39fe1b} executeQuery: Code: 36. DB::Exception: Codec Delta is not applicable for String because the data type is not of fixed size. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51672) (comment: 01504_compression_multiple_streams.sql) (in query: -- validation still works, non-sense codecs checked CREATE TABLE columns_with_multiple_streams_bad_case ( field0 Nullable(String) CODEC(Delta, LZ4) ) ENGINE = MergeTree ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecDelta.cpp:177: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x0000000019dfcd45 7. /build/src/Compression/CompressionCodecDelta.cpp:215: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcc2f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 14. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 23. /build/src/DataTypes/Serializations/SerializationNullable.cpp:70: DB::SerializationNullable::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a01e20e 24. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 25. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:43.468503 [ 730 ] {7085c9d1-786f-476c-9630-b80aea39fe1b} TCPHandler: Code: 36. DB::Exception: Codec Delta is not applicable for String because the data type is not of fixed size. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecDelta.cpp:177: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x0000000019dfcd45 7. /build/src/Compression/CompressionCodecDelta.cpp:215: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcc2f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 14. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 23. /build/src/DataTypes/Serializations/SerializationNullable.cpp:70: DB::SerializationNullable::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a01e20e 24. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 25. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:43.810444 [ 730 ] {33e79362-481d-4b8a-b8e6-4f99d8014fe9} executeQuery: Code: 431. DB::Exception: T64 codec is not supported for specified type String. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:51672) (comment: 01504_compression_multiple_streams.sql) (in query: CREATE TABLE columns_with_multiple_streams_bad_case ( field0 Tuple(Array(UInt64), String) CODEC(T64, LZ4) ) ENGINE = MergeTree ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecT64.cpp:767: DB::registerCodecT64(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019e0d2cc 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019e0cda8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019e0cd65 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019e0cd25 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019e0cccd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/SerializationNamed.cpp:33: DB::SerializationNamed::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a01bf90 23. /build/src/DataTypes/Serializations/SerializationTuple.cpp:640: DB::SerializationTuple::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a05cb2d 24. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 25. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:43.811756 [ 730 ] {33e79362-481d-4b8a-b8e6-4f99d8014fe9} TCPHandler: Code: 431. DB::Exception: T64 codec is not supported for specified type String. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecT64.cpp:767: DB::registerCodecT64(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019e0d2cc 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019e0cda8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019e0cd65 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019e0cd25 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019e0cccd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/SerializationNamed.cpp:33: DB::SerializationNamed::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a01bf90 23. /build/src/DataTypes/Serializations/SerializationTuple.cpp:640: DB::SerializationTuple::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001a05cb2d 24. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 25. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:43.988359 [ 20529 ] {9bcb570a-36ad-4ae1-8c29-f975c458dec3} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:51684) (comment: 01505_trivial_count_with_partition_predicate.sql) (in query: -- non-optimized select count() from test_tuple array join [p,p] as c where toDate(p) = '2020-09-01';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:43.989151 [ 20529 ] {9bcb570a-36ad-4ae1-8c29-f975c458dec3} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:44.240971 [ 20529 ] {266281d1-1317-445b-bec0-0d847b36d7af} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:51684) (comment: 01505_trivial_count_with_partition_predicate.sql) (in query: -- non-optimized select count() from test_tuple array join [1,2,3] as c where toDate(p) = '2020-09-01';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:44.242063 [ 20529 ] {266281d1-1317-445b-bec0-0d847b36d7af} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 2.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:44.761774 [ 20529 ] {745c1f9f-5101-41a4-a970-0dc0ca6c8f5a} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 3.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:51684) (comment: 01505_trivial_count_with_partition_predicate.sql) (in query: -- non-optimized select count() from test_two_args where i = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:44.762838 [ 20529 ] {745c1f9f-5101-41a4-a970-0dc0ca6c8f5a} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 3.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:45.909493 [ 10217 ] {6bc0ec5b-3a0f-4706-b2a0-d14ec7051ae1} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1352: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fdb6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:45.910515 [ 10217 ] {6bc0ec5b-3a0f-4706-b2a0-d14ec7051ae1} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1352: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fdb6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.091463 [ 10217 ] {44e9d241-a78a-4b1a-a60a-ca581f4f4f59} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1359: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fff6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.092550 [ 10217 ] {44e9d241-a78a-4b1a-a60a-ca581f4f4f59} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1359: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fff6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.359185 [ 10217 ] {ce6c2d3a-9d21-4536-9a5a-c5a900ad2fb4} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1345: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fb5e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.360028 [ 10217 ] {ce6c2d3a-9d21-4536-9a5a-c5a900ad2fb4} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1345: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fb5e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.385255 [ 10217 ] {e703804e-82a8-4ee0-8a8d-4bcfb173b952} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1359: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fff6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.385863 [ 10217 ] {e703804e-82a8-4ee0-8a8d-4bcfb173b952} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1359: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fff6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.408647 [ 10217 ] {49bb987c-92f2-4b46-b479-12f3f6463908} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1345: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fb5e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.419659 [ 10217 ] {49bb987c-92f2-4b46-b479-12f3f6463908} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1345: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fb5e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.440840 [ 10217 ] {f17dc9be-0fec-4ca8-be28-3accc3e4bd33} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51730) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1352: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fdb6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:46.441593 [ 10217 ] {f17dc9be-0fec-4ca8-be28-3accc3e4bd33} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Storages/AlterCommands.cpp:1352: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24fdb6 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.378472 [ 10217 ] {377b9911-b811-4c2e-9d11-7b2dbaefd285} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:51772) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT * FROM t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.484914 [ 10217 ] {377b9911-b811-4c2e-9d11-7b2dbaefd285} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.485737 [ 17146 ] {dda079f6-b7fa-41b4-8fe8-ad29a6431876} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:51786) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t1 TO t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.486418 [ 17146 ] {dda079f6-b7fa-41b4-8fe8-ad29a6431876} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.626672 [ 15113 ] {dccf7a4f-48fd-488e-ac84-380fff863287} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: -- just nothing happened ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1391: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250736 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.758533 [ 20553 ] {5b44aadc-aa72-4917-be5d-38712ede103f} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:51802) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT * FROM t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/src/Interpreters/InterpreterInsertQuery.cpp:491: DB::InterpreterInsertQuery::execute() @ 0x000000001b42b7b6 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.959481 [ 10263 ] {ccbc8704-c738-45fc-84e6-efa5480c8cbd} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:51806) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:47.959491 [ 15113 ] {dccf7a4f-48fd-488e-ac84-380fff863287} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1391: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250736 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.959688 [ 20553 ] {5b44aadc-aa72-4917-be5d-38712ede103f} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/src/Interpreters/InterpreterInsertQuery.cpp:491: DB::InterpreterInsertQuery::execute() @ 0x000000001b42b7b6 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:47.961244 [ 10263 ] {ccbc8704-c738-45fc-84e6-efa5480c8cbd} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:48.157349 [ 17146 ] {8b466386-ccf2-45c0-a27f-9cd3b1989d56} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46244) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t2 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:48.157352 [ 15113 ] {84a616e0-0338-468d-8d8b-e6d30d5084db} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1403: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250a08 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.158419 [ 15113 ] {84a616e0-0338-468d-8d8b-e6d30d5084db} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1403: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250a08 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.158631 [ 17146 ] {8b466386-ccf2-45c0-a27f-9cd3b1989d56} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:48.422302 [ 15113 ] {02378e67-d102-43e3-915e-88545363cad6} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1397: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2508a0 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.422403 [ 20553 ] {5865c7d7-358c-4f13-8bc8-4eef073d79bc} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46260) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.423187 [ 15113 ] {02378e67-d102-43e3-915e-88545363cad6} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1397: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2508a0 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.423483 [ 20553 ] {5865c7d7-358c-4f13-8bc8-4eef073d79bc} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.684721 [ 15113 ] {0fe60858-78b0-4c75-bdbe-b52647f6cf5e} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1415: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250d27 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.685478 [ 15113 ] {0fe60858-78b0-4c75-bdbe-b52647f6cf5e} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1415: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250d27 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.935629 [ 15113 ] {e47c2403-33a0-4a96-ae47-193b892993f3} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1420: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250e96 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:48.936735 [ 15113 ] {e47c2403-33a0-4a96-ae47-193b892993f3} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1420: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250e96 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.186459 [ 15113 ] {76c789fa-1530-45e2-987d-d94b917eff7a} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.187255 [ 15113 ] {76c789fa-1530-45e2-987d-d94b917eff7a} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.449512 [ 15113 ] {9b1505d0-b35d-4b19-84c0-9fae2c94675e} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.460623 [ 15113 ] {9b1505d0-b35d-4b19-84c0-9fae2c94675e} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.480741 [ 15147 ] {9956291e-7388-4f26-9c38-995235a3ce41} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46294) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT rand64(1), [toString(rand64(2))] FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.481832 [ 15147 ] {9956291e-7388-4f26-9c38-995235a3ce41} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.832504 [ 15113 ] {a69cb24d-9c2f-4a2d-b650-2c06c02ced3e} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1391: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250736 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.833236 [ 15113 ] {a69cb24d-9c2f-4a2d-b650-2c06c02ced3e} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1391: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250736 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.856912 [ 15113 ] {1e3a998e-3e7f-444a-8f21-99255e7f165a} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1403: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250a08 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.857653 [ 15113 ] {1e3a998e-3e7f-444a-8f21-99255e7f165a} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1403: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250a08 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.873658 [ 15113 ] {d631e871-d790-4b32-a193-020aededd819} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1397: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2508a0 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.874469 [ 15113 ] {d631e871-d790-4b32-a193-020aededd819} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1397: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2508a0 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.890350 [ 15113 ] {1575ec27-8d99-4411-a628-dc8e0f120d94} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1415: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250d27 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.891260 [ 15113 ] {1575ec27-8d99-4411-a628-dc8e0f120d94} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1415: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250d27 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.905600 [ 15113 ] {9243f78c-2027-4d0c-8198-0f72e2734694} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1420: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250e96 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.906495 [ 15113 ] {9243f78c-2027-4d0c-8198-0f72e2734694} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1420: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250e96 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.923584 [ 15113 ] {35f059fd-d71f-4f4a-9d7c-0cd9c375211f} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.924485 [ 15113 ] {35f059fd-d71f-4f4a-9d7c-0cd9c375211f} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.939863 [ 15113 ] {adfecf5e-ea4c-4391-96c1-a17917451d8a} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.940540 [ 15113 ] {adfecf5e-ea4c-4391-96c1-a17917451d8a} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.996056 [ 15113 ] {5237e70b-b33e-4662-8607-a85d5bf63cd1} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ttl;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:49.996808 [ 15113 ] {5237e70b-b33e-4662-8607-a85d5bf63cd1} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1410: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c250baa 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:50.026537 [ 15113 ] {4f70ccc3-a5ab-4c80-a10f-5436c2f7e52e} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:51758) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table remove TTL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:50.027397 [ 15113 ] {4f70ccc3-a5ab-4c80-a10f-5436c2f7e52e} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1548: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2529cd 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:51.375115 [ 15147 ] {fce4b006-de61-4054-802d-7f32b6249657} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:46346) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t1 TO t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:51.375825 [ 15147 ] {fce4b006-de61-4054-802d-7f32b6249657} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:51.966625 [ 15147 ] {240d2a16-f3b4-475e-842d-bf6ca37b9381} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:46386) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t2 TO t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:51.966674 [ 15113 ] {f45e729b-2d75-46bd-8ccf-d9fb2cc1076c} executeQuery: Code: 47. DB::Exception: JOIN test_8r8sq2cp.dist_table AS d GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id) using identifier 'id' cannot be resolved from right table expression. In scope SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING (id). (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:46336) (comment: 01474_bad_global_join.sql) (in query: SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7864: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2d32 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:41:51.967453 [ 15147 ] {240d2a16-f3b4-475e-842d-bf6ca37b9381} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:51.967621 [ 15113 ] {f45e729b-2d75-46bd-8ccf-d9fb2cc1076c} TCPHandler: Code: 47. DB::Exception: JOIN test_8r8sq2cp.dist_table AS d GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id) using identifier 'id' cannot be resolved from right table expression. In scope SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING (id). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001b109168 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7864: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2d32 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:41:52.289517 [ 730 ] {3c952228-f7c0-4fce-8eca-1fb855c18d99} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46432) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT * FROM t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:52.290393 [ 730 ] {3c952228-f7c0-4fce-8eca-1fb855c18d99} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:53.207954 [ 15147 ] {ab14e13e-4782-445b-8299-03b4001af321} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46448) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT * FROM t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/src/Interpreters/InterpreterInsertQuery.cpp:491: DB::InterpreterInsertQuery::execute() @ 0x000000001b42b7b6 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:53.208865 [ 15147 ] {ab14e13e-4782-445b-8299-03b4001af321} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/src/Interpreters/InterpreterInsertQuery.cpp:491: DB::InterpreterInsertQuery::execute() @ 0x000000001b42b7b6 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:53.497266 [ 15147 ] {14db7bb6-80c2-4eb9-a45d-78e0cfb093a9} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46462). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:46462) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:53.497797 [ 15147 ] {14db7bb6-80c2-4eb9-a45d-78e0cfb093a9} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46462). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:1246: DB::TCPHandler::sendProfileEvents() @ 0x000000001d47f0b9 9. /build/src/Server/TCPHandler.cpp:1256: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001d47a1f4 10. /build/src/Server/TCPHandler.cpp:579: DB::TCPHandler::runImpl() @ 0x000000001d46f011 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:53.498509 [ 15147 ] {14db7bb6-80c2-4eb9-a45d-78e0cfb093a9} TCPHandler: Client has gone away. 2025.03.05 21:41:56.836820 [ 10217 ] {26ac65b3-344d-4752-aeb0-ee6ee31d093c} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46506) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT rand64(1), [toString(rand64(2))] FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:56.837757 [ 10217 ] {26ac65b3-344d-4752-aeb0-ee6ee31d093c} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.195122 [ 19692 ] {e1bdbdbd-dc50-4433-b433-475baeb6a2ca} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:46524) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t1 TO t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.195820 [ 19692 ] {e1bdbdbd-dc50-4433-b433-475baeb6a2ca} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.278453 [ 15147 ] {2b91b9c3-fde7-44f3-9fc0-8527bd27fa32} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46528) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:57.279260 [ 15147 ] {2b91b9c3-fde7-44f3-9fc0-8527bd27fa32} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:41:57.326803 [ 10263 ] {584c31dc-b999-44d7-b05d-fcd9531a63ef} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46538) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT * FROM t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.327558 [ 10263 ] {584c31dc-b999-44d7-b05d-fcd9531a63ef} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.739730 [ 17146 ] {452b60b3-3b44-4933-95d7-c76e803f01fa} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42192) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT * FROM t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.740729 [ 17146 ] {452b60b3-3b44-4933-95d7-c76e803f01fa} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.930207 [ 17146 ] {d7d76350-2283-4170-8d24-43b975fb250b} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:42220) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t2 TO t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:57.930984 [ 17146 ] {d7d76350-2283-4170-8d24-43b975fb250b} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:58.066523 [ 10263 ] {5b32e67a-5ccd-4323-af91-f79d3365289f} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. Maybe you meant test_hztka4ys.t1?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42242) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:58.067296 [ 10263 ] {5b32e67a-5ccd-4323-af91-f79d3365289f} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. Maybe you meant test_hztka4ys.t1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:41:58.235650 [ 17146 ] {2d5205da-8fe2-40fe-9104-7df68274bde1} executeQuery: Code: 44. DB::Exception: The argument of function defaultValueOfTypeName must be a constant string describing type.: In scope SELECT defaultValueOfTypeName(FQDN()). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:42230) (comment: 01459_default_value_of_argument_type_nullptr_dereference.sql) (in query: SELECT defaultValueOfTypeName(FQDN());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/defaultValueOfTypeName.cpp:51: DB::(anonymous namespace)::FunctionDefaultValueOfTypeName::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf5330d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:58.236695 [ 17146 ] {2d5205da-8fe2-40fe-9104-7df68274bde1} TCPHandler: Code: 44. DB::Exception: The argument of function defaultValueOfTypeName must be a constant string describing type.: In scope SELECT defaultValueOfTypeName(FQDN()). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/defaultValueOfTypeName.cpp:51: DB::(anonymous namespace)::FunctionDefaultValueOfTypeName::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf5330d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:41:59.545397 [ 17146 ] {31e6e871-e99a-4215-a840-47ffbf75e031} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:42258) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af088b6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06714 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0565a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:41:59.549207 [ 17146 ] {31e6e871-e99a-4215-a840-47ffbf75e031} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af088b6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06714 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0565a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:00.855890 [ 5772 ] {b6c965b7-0f64-4917-ae69-b19a401af1e1} executeQuery: Code: 60. DB::Exception: Table `test_hztka4ys`.`t1` doesn't exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42296) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t1 TO t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5bda 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:00.857186 [ 5772 ] {b6c965b7-0f64-4917-ae69-b19a401af1e1} TCPHandler: Code: 60. DB::Exception: Table `test_hztka4ys`.`t1` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5bda 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:00.987780 [ 730 ] {ad618ac1-13ef-4e72-a7dd-4426a039c8e1} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42304) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT rand64(1), [toString(rand64(2))] FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:00.988668 [ 730 ] {ad618ac1-13ef-4e72-a7dd-4426a039c8e1} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:01.130682 [ 15147 ] {0dbe4287-793b-4d05-8a3e-e3a3048cb01f} executeQuery: Code: 141. DB::Exception: Storage test_p93jj5cl.modify_sample doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 24.3.12.76.altinitystable) (from [::1]:42292) (comment: 01430_modify_sample_by_zookeeper_long.sql) (in query: SELECT count(), min(x), max(x), sum(x), uniqExact(x) FROM modify_sample SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:42:01.131851 [ 15147 ] {0dbe4287-793b-4d05-8a3e-e3a3048cb01f} TCPHandler: Code: 141. DB::Exception: Storage test_p93jj5cl.modify_sample doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:42:01.421208 [ 730 ] {d6784f5f-8f17-4ff7-8044-905a5609fd3b} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42316) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT * FROM t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:01.421965 [ 730 ] {d6784f5f-8f17-4ff7-8044-905a5609fd3b} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:02.059878 [ 5772 ] {6faf351b-0870-49dd-93b1-92b8500cfc6a} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42366) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t2 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:02.060828 [ 5772 ] {6faf351b-0870-49dd-93b1-92b8500cfc6a} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:02.180311 [ 5772 ] {c7c3f516-1224-463d-bf59-f02a7112be77} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. Maybe you meant test_hztka4ys.t1?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:42378) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:02.181360 [ 5772 ] {c7c3f516-1224-463d-bf59-f02a7112be77} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. Maybe you meant test_hztka4ys.t1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:02.508881 [ 5772 ] {e2a60487-fc84-4df9-a4d9-3e89bae4ed1b} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:42394) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t2 TO t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:02.509528 [ 5772 ] {e2a60487-fc84-4df9-a4d9-3e89bae4ed1b} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:02.785897 [ 15147 ] {9103593d-fc12-4e2c-b5b1-43a1537d3bc2} executeQuery: Code: 141. DB::Exception: Storage test_p93jj5cl.modify_sample_replicated doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 24.3.12.76.altinitystable) (from [::1]:42292) (comment: 01430_modify_sample_by_zookeeper_long.sql) (in query: SELECT count(), min(x), max(x), sum(x), uniqExact(x) FROM modify_sample_replicated SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:42:02.786483 [ 17146 ] {f44f729a-f255-4b24-9d01-48b57ac6bee0} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:42258) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af1f926 10. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af1ef34 11. /build/src/Functions/FunctionsConversion.cpp:2512: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1e023 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:42:02.786934 [ 15147 ] {9103593d-fc12-4e2c-b5b1-43a1537d3bc2} TCPHandler: Code: 141. DB::Exception: Storage test_p93jj5cl.modify_sample_replicated doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2411: DB::(anonymous namespace)::QueryAnalyzer::validateTableExpressionModifiers(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09e04f 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7952: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9dec 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:42:02.788419 [ 17146 ] {f44f729a-f255-4b24-9d01-48b57ac6bee0} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af1f926 10. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af1ef34 11. /build/src/Functions/FunctionsConversion.cpp:2512: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af1e023 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:42:03.921626 [ 15147 ] {345f91e9-4498-4f13-bc12-ff19307d78ac} executeQuery: Code: 36. DB::Exception: Sampling expression must be present in the primary key. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42292) (comment: 01430_modify_sample_by_zookeeper_long.sql) (in query: ALTER TABLE modify_sample_replicated MODIFY SAMPLE BY d;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:216: DB::checkSampleExpression(DB::StorageInMemoryMetadata const&, bool, bool) @ 0x000000001cbafd49 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3261: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe8963 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:03.922663 [ 15147 ] {345f91e9-4498-4f13-bc12-ff19307d78ac} TCPHandler: Code: 36. DB::Exception: Sampling expression must be present in the primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:216: DB::checkSampleExpression(DB::StorageInMemoryMetadata const&, bool, bool) @ 0x000000001cbafd49 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3261: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe8963 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:04.759391 [ 5772 ] {11a84c78-4ed3-4d41-a262-cf9889510a70} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: unexpected date: 2025-2-55: In scope SELECT parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:42422) (comment: 01424_parse_date_time_bad_date.sql) (in query: select parseDateTime64BestEffort('2.55');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000133a3fc8 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1cd3 7. /build/src/IO/parseDateTimeBestEffort.cpp:616: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a27d 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af2adb6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af28c14 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af27c3a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:04.760368 [ 5772 ] {11a84c78-4ed3-4d41-a262-cf9889510a70} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: unexpected date: 2025-2-55: In scope SELECT parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000133a3fc8 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1cd3 7. /build/src/IO/parseDateTimeBestEffort.cpp:616: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a27d 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af2adb6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af28c14 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af27c3a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:06.004060 [ 15147 ] {160dcfb1-a890-4287-b0d9-8b5ac485978c} executeQuery: Code: 36. DB::Exception: ALTER MODIFY SAMPLE BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42292) (comment: 01430_modify_sample_by_zookeeper_long.sql) (in query: ALTER TABLE modify_sample_old MODIFY SAMPLE BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe8836 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:06.019002 [ 15147 ] {160dcfb1-a890-4287-b0d9-8b5ac485978c} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY SAMPLE BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3258: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe8836 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:06.373515 [ 5772 ] {66ea7acf-e00f-4da5-acc2-b0b5f5f6a7ac} executeQuery: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:42438) (comment: 01421_assert_in_in.sql) (in query: SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001bb6ac6c 6. /build/src/Interpreters/convertFieldToType.cpp:82: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5fbb7 7. /build/src/Interpreters/convertFieldToType.cpp:220: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5aeea 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 9. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 10. /build/src/Analyzer/SetUtils.cpp:104: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b1400fc 11. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6127: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc233 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:06.374474 [ 5772 ] {66ea7acf-e00f-4da5-acc2-b0b5f5f6a7ac} TCPHandler: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001bb6ac6c 6. /build/src/Interpreters/convertFieldToType.cpp:82: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5fbb7 7. /build/src/Interpreters/convertFieldToType.cpp:220: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5aeea 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 9. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 10. /build/src/Analyzer/SetUtils.cpp:104: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b1400fc 11. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6127: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc233 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:07.314049 [ 5772 ] {ecdb5cd5-dd59-448f-a67d-a6b9016e125c} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:42456) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t2 TO t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:07.314953 [ 5772 ] {ecdb5cd5-dd59-448f-a67d-a6b9016e125c} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:07.496174 [ 5772 ] {04df37cc-e1e4-426f-a6eb-ce923a287bd8} executeQuery: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:42464) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: RENAME TABLE t1 TO t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:07.497077 [ 5772 ] {04df37cc-e1e4-426f-a6eb-ce923a287bd8} TCPHandler: Code: 57. DB::Exception: Table test_hztka4ys.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000019889393 6. /build/src/Interpreters/DatabaseCatalog.cpp:726: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a672a84 7. /build/src/Interpreters/InterpreterRenameQuery.cpp:108: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b437c42 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:08.109865 [ 20529 ] {e12a819c-e811-4e83-8bf1-8c3424c295ad} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34774) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:08.111022 [ 20529 ] {e12a819c-e811-4e83-8bf1-8c3424c295ad} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:08.518024 [ 5772 ] {8c25a01b-34f9-42b4-a5a5-6d50f81f79ce} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34786) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT * FROM t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:08.518693 [ 5772 ] {8c25a01b-34f9-42b4-a5a5-6d50f81f79ce} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:11.898935 [ 19692 ] {30af1786-36f1-4d47-93a8-0d80e302788f} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34876) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT rand64(1), [toString(rand64(2))] FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:11.899662 [ 19692 ] {30af1786-36f1-4d47-93a8-0d80e302788f} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.246106 [ 10217 ] {d5bce915-f9f5-48f0-851f-f31d9ef52fe1} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34900) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT * FROM t2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.247031 [ 10217 ] {d5bce915-f9f5-48f0-851f-f31d9ef52fe1} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.435108 [ 19692 ] {11cfa3c7-984d-45f7-9792-8ec3d0e3ffa3} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34920) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:12.435946 [ 19692 ] {11cfa3c7-984d-45f7-9792-8ec3d0e3ffa3} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't1' in scope SELECT * FROM t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:12.462899 [ 10217 ] {79411074-6a49-45dc-b4fa-4fbfb4867c53} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34914) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t1 SELECT rand64(1), [toString(rand64(2))] FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.463756 [ 10217 ] {79411074-6a49-45dc-b4fa-4fbfb4867c53} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t1 does not exist. Maybe you meant test_hztka4ys.t2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.963055 [ 19692 ] {13c3792b-b027-4af0-acfb-19af8cbb70a2} executeQuery: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34934) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: INSERT INTO t2 SELECT * FROM t1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.963137 [ 17146 ] {163babd1-2f80-4190-bf80-7a891cded853} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:34950) (comment: 01502_long_log_tinylog_deadlock_race.sh) (in query: SELECT * FROM t2 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:12.963901 [ 19692 ] {13c3792b-b027-4af0-acfb-19af8cbb70a2} TCPHandler: Code: 60. DB::Exception: Table test_hztka4ys.t2 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:12.964117 [ 17146 ] {163babd1-2f80-4190-bf80-7a891cded853} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 't2' in scope SELECT * FROM t2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:42:12.964557 [ 5772 ] {4a4a43c3-a9b8-403b-b8cb-354e4c4daccd} executeQuery: Code: 73. DB::Exception: Unknown format aaa: In scope SELECT formatRow('aaa', *) FROM numbers(3). (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:34800) (comment: 01420_format_row.gen.sql) (in query: -- unknown format select formatRow('aaa', *) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Functions/formatRow.cpp:43: DB::(anonymous namespace)::FunctionFormatRow::FunctionFormatRow(String, std::vector>, std::shared_ptr) @ 0x000000000d834636 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::FunctionFormatRow* std::construct_at[abi:v15000], String, std::vector>, std::shared_ptr const&, DB::(anonymous namespace)::FunctionFormatRow*>(DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d834517 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String, std::vector>, std::shared_ptr const&, void, void>(std::allocator>&, DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d834291 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]>, std::shared_ptr const&>(std::allocator>, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833f97 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String, std::vector>, std::shared_ptr const&, void>(std::allocator> const&, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833e0a 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String, std::vector>, std::shared_ptr const&, void>(String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833c96 13. /build/src/Functions/formatRow.cpp:141: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000d83385c 14. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001906425e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:12.965348 [ 5772 ] {4a4a43c3-a9b8-403b-b8cb-354e4c4daccd} TCPHandler: Code: 73. DB::Exception: Unknown format aaa: In scope SELECT formatRow('aaa', *) FROM numbers(3). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Functions/formatRow.cpp:43: DB::(anonymous namespace)::FunctionFormatRow::FunctionFormatRow(String, std::vector>, std::shared_ptr) @ 0x000000000d834636 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::FunctionFormatRow* std::construct_at[abi:v15000], String, std::vector>, std::shared_ptr const&, DB::(anonymous namespace)::FunctionFormatRow*>(DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d834517 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String, std::vector>, std::shared_ptr const&, void, void>(std::allocator>&, DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d834291 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]>, std::shared_ptr const&>(std::allocator>, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833f97 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String, std::vector>, std::shared_ptr const&, void>(std::allocator> const&, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833e0a 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String, std::vector>, std::shared_ptr const&, void>(String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000d833c96 13. /build/src/Functions/formatRow.cpp:141: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000d83385c 14. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001906425e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:15.343940 [ 10217 ] {4553eef5-6327-48bb-b878-62f4db4f8610} executeQuery: Code: 69. DB::Exception: A call to function range would produce 18446744073709550590 array elements, which is greater than the allowed maximum of 500000000: In scope SELECT range(1025, 18446744073709551615, 1). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:34978) (comment: 01408_range_overflow.sql) (in query: SELECT range(1025, 18446744073709551615, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/array/range.cpp:361: COW::immutable_ptr DB::FunctionRange::executeGeneric(DB::IColumn const*, DB::IColumn const*, DB::IColumn const*, unsigned long) const @ 0x00000000132175e8 7. /build/src/Functions/array/range.cpp:548: DB::FunctionRange::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013200920 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:15.345005 [ 10217 ] {4553eef5-6327-48bb-b878-62f4db4f8610} TCPHandler: Code: 69. DB::Exception: A call to function range would produce 18446744073709550590 array elements, which is greater than the allowed maximum of 500000000: In scope SELECT range(1025, 18446744073709551615, 1). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/array/range.cpp:361: COW::immutable_ptr DB::FunctionRange::executeGeneric(DB::IColumn const*, DB::IColumn const*, DB::IColumn const*, unsigned long) const @ 0x00000000132175e8 7. /build/src/Functions/array/range.cpp:548: DB::FunctionRange::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013200920 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:16.819462 [ 15147 ] {f09954de-c4b0-4b6d-991e-12f1cd243804} executeQuery: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:35002) (comment: 01397_in_bad_arguments.sql) (in query: select in((1, 1, 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.820590 [ 15147 ] {f09954de-c4b0-4b6d-991e-12f1cd243804} TCPHandler: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.838408 [ 15147 ] {cceeab38-69f2-465e-b9ca-d2d34e23cf0f} executeQuery: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:35002) (comment: 01397_in_bad_arguments.sql) (in query: select in(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.839424 [ 15147 ] {cceeab38-69f2-465e-b9ca-d2d34e23cf0f} TCPHandler: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.856319 [ 15147 ] {a525bd11-22c2-48bf-993e-737da0c5b9a0} executeQuery: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:35002) (comment: 01397_in_bad_arguments.sql) (in query: select in();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.857680 [ 15147 ] {a525bd11-22c2-48bf-993e-737da0c5b9a0} TCPHandler: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.873772 [ 15147 ] {474d45a1-f2ee-4c41-bc80-1ba744f05b49} executeQuery: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:35002) (comment: 01397_in_bad_arguments.sql) (in query: select in(1, 2, 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:16.874885 [ 15147 ] {474d45a1-f2ee-4c41-bc80-1ba744f05b49} TCPHandler: Code: 42. DB::Exception: Function 'in' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:42:21.164320 [ 19692 ] {130dfee9-657f-40e7-8f37-c701d6beb9d9} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:44792) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:21.331566 [ 15147 ] {4f1c3ee6-fd7c-405c-b1b3-24c7ffb31ab2} executeQuery: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:44806) (comment: 01386_negative_float_constant_key_condition.sql) (in query: SELECT t0.c1 FROM t0 WHERE NOT (t0.c1 OR (t0.c0 AND -1.0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x00000000190a9a79 7. /build/src/Core/Field.h:647: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000190a9429 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000190a921d 9. /build/src/Functions/FunctionsLogical.cpp:141: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x00000000190899f6 10. /build/src/Functions/FunctionsLogical.cpp:111: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x0000000019089896 11. /build/src/Functions/FunctionsLogical.cpp:137: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x0000000019089601 12. /build/src/Functions/FunctionsLogical.cpp:460: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x00000000190861e6 13. /build/src/Functions/FunctionsLogical.cpp:662: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000190abc48 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 20. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 21. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 22. /build/src/Processors/Transforms/FilterTransform.cpp:188: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001da43c82 23. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001dd041c9 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x000000001b523ecd 25. /build/src/Planner/Planner.cpp:347: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b512048 26. /build/src/Planner/Planner.cpp:1533: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f370 27. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 29. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:42:21.331649 [ 19692 ] {130dfee9-657f-40e7-8f37-c701d6beb9d9} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:21.332340 [ 15147 ] {4f1c3ee6-fd7c-405c-b1b3-24c7ffb31ab2} TCPHandler: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x00000000190a9a79 7. /build/src/Core/Field.h:647: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000190a9429 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000190a921d 9. /build/src/Functions/FunctionsLogical.cpp:141: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x00000000190899f6 10. /build/src/Functions/FunctionsLogical.cpp:111: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x0000000019089896 11. /build/src/Functions/FunctionsLogical.cpp:137: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x0000000019089601 12. /build/src/Functions/FunctionsLogical.cpp:460: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x00000000190861e6 13. /build/src/Functions/FunctionsLogical.cpp:662: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000190abc48 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 20. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 21. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 22. /build/src/Processors/Transforms/FilterTransform.cpp:188: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001da43c82 23. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001dd041c9 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x000000001b523ecd 25. /build/src/Planner/Planner.cpp:347: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b512048 26. /build/src/Planner/Planner.cpp:1533: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f370 27. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 29. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:42:21.733831 [ 19692 ] {5bad59c6-16db-41c0-889d-ad868f5c5b5f} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:44792) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:21.734749 [ 19692 ] {5bad59c6-16db-41c0-889d-ad868f5c5b5f} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:22.079003 [ 19692 ] {83b22c5d-4018-4d7f-b881-686e5bf69ec0} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:44792) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:22.079755 [ 19692 ] {83b22c5d-4018-4d7f-b881-686e5bf69ec0} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/AlterCommands.cpp:1446: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251494 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:36.799726 [ 10263 ] {33e85511-d669-4f9a-841d-97716ccf4dd0} executeQuery: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 24.3.12.76.altinitystable) (from [::1]:42226) (comment: 01320_optimize_skip_unused_shards_no_non_deterministic.sql) (in query: select * from dist_01320 where key = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageDistributed.cpp:1554: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c33240e 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:36.800847 [ 10263 ] {33e85511-d669-4f9a-841d-97716ccf4dd0} TCPHandler: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageDistributed.cpp:1554: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) const @ 0x000000001c33240e 7. /build/src/Storages/StorageDistributed.cpp:441: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001c3309d0 8. /build/src/Planner/PlannerJoinTree.cpp:875: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551d66 9. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 10. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:42:38.063813 [ 1362 ] {} ReadWriteBufferFromHTTP: Failed to make request to 'http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Fclickhouse%2Ftables%2Ftest_2nl2fsjs%2Fr%2Freplicas%2Fr1&part=all_0_0_0&client_protocol_version=8&compress=false' redirect to 'http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Fclickhouse%2Ftables%2Ftest_2nl2fsjs%2Fr%2Freplicas%2Fr1&part=all_0_0_0&client_protocol_version=8&compress=false'. Error: 'DB::HTTPException: Received error from remote server http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Fclickhouse%2Ftables%2Ftest_2nl2fsjs%2Fr%2Freplicas%2Fr1&part=all_0_0_0&client_protocol_version=8&compress=false. HTTP status code: 500 Internal Server Error, body: Code: 236. DB::Exception: Transferring part to replica was cancelled. (ABORTED) (version 24.3.12.76.altinitystable)'. Failed at try 1/1. 2025.03.05 21:42:38.064711 [ 1362 ] {} test_2nl2fsjs.r2 (c912ed35-3fa4-4367-8303-75b717242f39): auto DB::StorageReplicatedMergeTree::processQueueEntry(ReplicatedMergeTreeQueue::SelectedEntryPtr)::(anonymous class)::operator()(LogEntryPtr &) const: Code: 86. DB::HTTPException: Received error from remote server http://316d619ca159:9009/?endpoint=DataPartsExchange%3Adefault%3A%2Fclickhouse%2Ftables%2Ftest_2nl2fsjs%2Fr%2Freplicas%2Fr1&part=all_0_0_0&client_protocol_version=8&compress=false. HTTP status code: 500 Internal Server Error, body: Code: 236. DB::Exception: Transferring part to replica was cancelled. (ABORTED) (version 24.3.12.76.altinitystable). (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013704764 6. /build/src/IO/HTTPCommon.cpp:95: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x00000000137043ab 7. /build/src/IO/HTTPCommon.h:32: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013704531 8. /build/src/IO/HTTPCommon.cpp:84: DB::assertResponseIsOk(String const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013704241 9. /build/src/IO/ReadWriteBufferFromHTTP.cpp:254: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x00000000160adb18 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:264: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x00000000160adc12 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:385: DB::ReadWriteBufferFromHTTP::initialize() @ 0x00000000160ae431 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:448: DB::ReadWriteBufferFromHTTP::nextImpl()::$_0::operator()() const @ 0x00000000160b147b 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160b1435 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000160b1415 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160b13f5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160b13bd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 19. /build/src/IO/ReadWriteBufferFromHTTP.cpp:302: DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x00000000160aa687 20. /build/src/IO/ReadWriteBufferFromHTTP.cpp:441: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000160aface 21. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 22. /build/src/IO/ReadWriteBufferFromHTTP.cpp:233: DB::ReadWriteBufferFromHTTP::ReadWriteBufferFromHTTP(DB::HTTPConnectionGroupType const&, Poco::URI const&, String const&, DB::ProxyConfiguration, DB::ReadSettings, DB::ConnectionTimeouts, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*, unsigned long, unsigned long, std::function>&)>, bool, bool, std::vector>, bool, std::optional) @ 0x00000000160ad63e 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&>(DB::HTTPConnectionGroupType&, Poco::URI&, String&, DB::ProxyConfiguration&, DB::ReadSettings&, DB::ConnectionTimeouts&, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*&, unsigned long&, unsigned long&, std::function>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&) @ 0x00000000160a2792 24. /build/src/IO/ReadWriteBufferFromHTTP.h:242: DB::BuilderRWBufferFromHTTP::create(Poco::Net::HTTPBasicCredentials const&) @ 0x00000000160a1fba 25. /build/src/Storages/MergeTree/DataPartsExchange.cpp:507: DB::DataPartsExchange::Fetcher::fetchSelectedPart(std::shared_ptr const&, std::shared_ptr, String const&, String const&, String const&, String const&, int, DB::ConnectionTimeouts const&, String const&, String const&, String const&, std::shared_ptr, bool, String const&, std::optional*, bool, std::shared_ptr) @ 0x000000001ca692e2 26. /build/src/Storages/StorageReplicatedMergeTree.cpp:4894: DB::StorageReplicatedMergeTree::fetchPart(String const&, std::shared_ptr const&, String const&, String const&, bool, unsigned long, std::shared_ptr, bool)::$_3::operator()() const @ 0x000000001c5c5849 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c5c54b5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c5c5475 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c5c5435 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c5c5400 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c619276 (version 24.3.12.76.altinitystable) 2025.03.05 21:42:40.607582 [ 10263 ] {2d55e456-d307-4fab-975e-eabc6fbec02c} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 0, expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: --- aes_decrypt_mysql(string, key, block_mode[, init_vector, AAD]) -- The MySQL-compatitable encryption, only ecb, cbc and ofb modes are supported, -- just like for MySQL -- https://dev.mysql.com/doc/refman/8.0/en/encryption-functions.html#function_aes-encrypt -- https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_block_encryption_mode -- Please note that for keys that exceed mode-specific length, keys are folded in a MySQL-specific way, -- meaning that whole key is used, but effective key length is still determined by mode. -- when key doesn't exceed the default mode length, ecryption result equals with AES_encypt() ----------------------------------------------------------------------------------------- -- error cases ----------------------------------------------------------------------------------------- SELECT aes_decrypt_mysql();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.608900 [ 10263 ] {2d55e456-d307-4fab-975e-eabc6fbec02c} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 0, expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.629632 [ 10263 ] {99412926-0432-4a8b-9910-4abae4f94d6d} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 1 (String), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.630694 [ 10263 ] {99412926-0432-4a8b-9910-4abae4f94d6d} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 1 (String), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.650798 [ 10263 ] {deb829ab-31b0-40e4-a845-1a112c1b9ac6} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 2 (String, String), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.651712 [ 10263 ] {deb829ab-31b0-40e4-a845-1a112c1b9ac6} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 2 (String, String), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:40.844544 [ 10263 ] {534bca54-7571-439e-9da2-ea4c1e6c12ed} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'mode' of function aes_decrypt_mysql, expected decryption mode string, got UInt16: In scope SELECT aes_decrypt_mysql(789, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql(789, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:40.845401 [ 10263 ] {534bca54-7571-439e-9da2-ea4c1e6c12ed} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'mode' of function aes_decrypt_mysql, expected decryption mode string, got UInt16: In scope SELECT aes_decrypt_mysql(789, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.008902 [ 10263 ] {2dedda38-f7f2-4c52-862a-07b40160d056} executeQuery: Code: 36. DB::Exception: Invalid mode: blah blah blah: In scope SELECT aes_decrypt_mysql('blah blah blah', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('blah blah blah', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c274d 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.009750 [ 10263 ] {2dedda38-f7f2-4c52-862a-07b40160d056} TCPHandler: Code: 36. DB::Exception: Invalid mode: blah blah blah: In scope SELECT aes_decrypt_mysql('blah blah blah', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c274d 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.027050 [ 10263 ] {33421f40-9080-4676-b3f0-ce5af703ccc1} executeQuery: Code: 36. DB::Exception: Invalid mode: des-ede3-ecb: In scope SELECT aes_decrypt_mysql('des-ede3-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('des-ede3-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c274d 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.027755 [ 10263 ] {33421f40-9080-4676-b3f0-ce5af703ccc1} TCPHandler: Code: 36. DB::Exception: Invalid mode: des-ede3-ecb: In scope SELECT aes_decrypt_mysql('des-ede3-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c274d 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.199272 [ 10263 ] {0df4ca36-6322-4922-a62b-43f54efed670} executeQuery: Code: 36. DB::Exception: Unsupported cipher mode: In scope SELECT aes_decrypt_mysql('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsAES.h:122: void DB::OpenSSLDetails::validateCipherMode<(DB::OpenSSLDetails::CompatibilityMode)0>(evp_cipher_st const*) @ 0x000000000b9c3c68 7. /build/src/Functions/FunctionsAES.h:467: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2932 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:41.200076 [ 10263 ] {0df4ca36-6322-4922-a62b-43f54efed670} TCPHandler: Code: 36. DB::Exception: Unsupported cipher mode: In scope SELECT aes_decrypt_mysql('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsAES.h:122: void DB::OpenSSLDetails::validateCipherMode<(DB::OpenSSLDetails::CompatibilityMode)0>(evp_cipher_st const*) @ 0x000000000b9c3c68 7. /build/src/Functions/FunctionsAES.h:467: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2932 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:41.371319 [ 10263 ] {3e778588-6265-4d5f-aa77-355d4868f703} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'mode' of function decrypt, expected decryption mode string, got UInt16: In scope SELECT decrypt(789, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt(789, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.372181 [ 10263 ] {3e778588-6265-4d5f-aa77-355d4868f703} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'mode' of function decrypt, expected decryption mode string, got UInt16: In scope SELECT decrypt(789, '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.543238 [ 10263 ] {b7918d90-c6d3-468e-9054-746ce7f56b73} executeQuery: Code: 36. DB::Exception: Invalid mode: blah blah blah: In scope SELECT decrypt('blah blah blah', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('blah blah blah', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e4cd 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.544087 [ 10263 ] {b7918d90-c6d3-468e-9054-746ce7f56b73} TCPHandler: Code: 36. DB::Exception: Invalid mode: blah blah blah: In scope SELECT decrypt('blah blah blah', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e4cd 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.561029 [ 10263 ] {200ff6d5-f792-426b-991b-715a5bce2900} executeQuery: Code: 36. DB::Exception: Invalid mode: des-ede3-ecb: In scope SELECT decrypt('des-ede3-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('des-ede3-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e4cd 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.561780 [ 10263 ] {200ff6d5-f792-426b-991b-715a5bce2900} TCPHandler: Code: 36. DB::Exception: Invalid mode: des-ede3-ecb: In scope SELECT decrypt('des-ede3-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsAES.h:459: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e4cd 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:42:41.577976 [ 10263 ] {d016a2b9-26f7-495c-9080-7c80967afe22} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'key' of function aes_decrypt_mysql, expected decryption key binary string, got UInt16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.578975 [ 10263 ] {d016a2b9-26f7-495c-9080-7c80967afe22} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'key' of function aes_decrypt_mysql, expected decryption key binary string, got UInt16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.764538 [ 10263 ] {ff0164a8-cfc2-4de6-a389-a64f893974e7} executeQuery: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:76: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)0>::setKey(unsigned long, StringRef) @ 0x000000000b9c3dac 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)0, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c3442 8. /build/src/Functions/FunctionsAES.h:508: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c312c 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2a16 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:41.765510 [ 10263 ] {ff0164a8-cfc2-4de6-a389-a64f893974e7} TCPHandler: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:76: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)0>::setKey(unsigned long, StringRef) @ 0x000000000b9c3dac 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)0, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c3442 8. /build/src/Functions/FunctionsAES.h:508: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c312c 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2a16 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:41.948795 [ 10263 ] {093a636c-bea6-4aba-a95b-d9999de9cf76} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function decrypt provided 2 (String, String), expected 3 to 5 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string, 'AAD' : Additional authenticated data binary string for GCM mode]): In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:41.949675 [ 10263 ] {093a636c-bea6-4aba-a95b-d9999de9cf76} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function decrypt provided 2 (String, String), expected 3 to 5 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string, 'AAD' : Additional authenticated data binary string for GCM mode]): In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:41.969301 [ 10263 ] {329df429-6751-42ba-9e22-df9513d5c44c} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'key' of function decrypt, expected decryption key binary string, got UInt16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:41.970217 [ 10263 ] {329df429-6751-42ba-9e22-df9513d5c44c} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'key' of function decrypt, expected decryption key binary string, got UInt16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.127364 [ 10263 ] {a1b4a053-0459-4a60-921a-0d6d94166256} executeQuery: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:64: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)1>::setKey(unsigned long, StringRef) const @ 0x000000000cf51185 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50222 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.128608 [ 10263 ] {a1b4a053-0459-4a60-921a-0d6d94166256} TCPHandler: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:64: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)1>::setKey(unsigned long, StringRef) const @ 0x000000000cf51185 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50222 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.154555 [ 10263 ] {f6693f2d-ef30-44f3-90d7-5e078914a714} executeQuery: Code: 36. DB::Exception: Invalid key size: 36 expected 16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:64: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)1>::setKey(unsigned long, StringRef) const @ 0x000000000cf51185 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50222 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.155518 [ 10263 ] {f6693f2d-ef30-44f3-90d7-5e078914a714} TCPHandler: Code: 36. DB::Exception: Invalid key size: 36 expected 16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:64: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)1>::setKey(unsigned long, StringRef) const @ 0x000000000cf51185 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50222 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.338315 [ 10263 ] {a2fe3b31-ddf3-4aac-8a87-60f0baf4cd43} executeQuery: Code: 43. DB::Exception: Illegal type of argument #4 'IV' of function aes_decrypt_mysql, expected Initialization vector binary string, got UInt16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.339273 [ 10263 ] {a2fe3b31-ddf3-4aac-8a87-60f0baf4cd43} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #4 'IV' of function aes_decrypt_mysql, expected Initialization vector binary string, got UInt16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.504753 [ 10263 ] {577a2107-de91-4be0-b008-c2b15d37b944} executeQuery: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:76: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)0>::setKey(unsigned long, StringRef) @ 0x000000000b9c3dac 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)0, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c3442 8. /build/src/Functions/FunctionsAES.h:508: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c312c 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2b74 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.505814 [ 10263 ] {577a2107-de91-4be0-b008-c2b15d37b944} TCPHandler: Code: 36. DB::Exception: Invalid key size: 3 expected 16: In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Functions/FunctionsAES.h:76: DB::OpenSSLDetails::KeyHolder<(DB::OpenSSLDetails::CipherMode)0>::setKey(unsigned long, StringRef) @ 0x000000000b9c3dac 7. /build/src/Functions/FunctionsAES.h:578: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)0, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c3442 8. /build/src/Functions/FunctionsAES.h:508: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000b9c312c 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b9c2b74 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.702486 [ 10263 ] {4f07ccdb-2ded-4a2b-a7a7-7717647f7bd9} executeQuery: Code: 43. DB::Exception: Illegal type of argument #4 'IV' of function decrypt, expected Initialization vector binary string, got UInt16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-cbc', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.703769 [ 10263 ] {4f07ccdb-2ded-4a2b-a7a7-7717647f7bd9} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #4 'IV' of function decrypt, expected Initialization vector binary string, got UInt16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.863903 [ 10263 ] {d1afd3ad-5ec1-4493-8a5e-79f1bcbe18e4} executeQuery: Code: 36. DB::Exception: Invalid IV size: 42 expected 16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-cbc', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Functions/FunctionsAES.h:131: void DB::OpenSSLDetails::validateIV<(DB::OpenSSLDetails::CipherMode)1>(StringRef, unsigned long) @ 0x000000000cf51268 7. /build/src/Functions/FunctionsAES.h:653: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50460 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.864764 [ 10263 ] {d1afd3ad-5ec1-4493-8a5e-79f1bcbe18e4} TCPHandler: Code: 36. DB::Exception: Invalid IV size: 42 expected 16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Functions/FunctionsAES.h:131: void DB::OpenSSLDetails::validateIV<(DB::OpenSSLDetails::CipherMode)1>(StringRef, unsigned long) @ 0x000000000cf51268 7. /build/src/Functions/FunctionsAES.h:653: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50460 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.881784 [ 10263 ] {3daa7ab2-335a-4457-b7de-fb972172282f} executeQuery: Code: 36. DB::Exception: Invalid IV size: 2 expected 16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-cbc', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Functions/FunctionsAES.h:131: void DB::OpenSSLDetails::validateIV<(DB::OpenSSLDetails::CipherMode)1>(StringRef, unsigned long) @ 0x000000000cf51268 7. /build/src/Functions/FunctionsAES.h:653: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50460 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.882550 [ 10263 ] {3daa7ab2-335a-4457-b7de-fb972172282f} TCPHandler: Code: 36. DB::Exception: Invalid IV size: 2 expected 16: In scope SELECT decrypt('aes-128-cbc', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Functions/FunctionsAES.h:131: void DB::OpenSSLDetails::validateIV<(DB::OpenSSLDetails::CipherMode)1>(StringRef, unsigned long) @ 0x000000000cf51268 7. /build/src/Functions/FunctionsAES.h:653: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf50460 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:42:42.900363 [ 10263 ] {891fc970-c90c-4378-98a0-6d745ed0304b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 5 (String, String, String, String, UInt16), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:42.901118 [ 10263 ] {891fc970-c90c-4378-98a0-6d745ed0304b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function aes_decrypt_mysql provided 5 (String, String, String, String, UInt16), expected 3 to 4 ('mode' : decryption mode string, 'input' : ciphertext, 'key' : decryption key binary string, ['IV' : Initialization vector binary string]): In scope SELECT aes_decrypt_mysql('aes-128-ecb', '[HIDDEN]'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b9c2fea 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:42:42.917759 [ 10263 ] {3bf05e10-666a-41d7-8b6f-51f7b7b3dfd0} executeQuery: Code: 43. DB::Exception: Illegal type of argument #5 'AAD' of function decrypt, expected Additional authenticated data binary string for GCM mode, got UInt16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.918590 [ 10263 ] {3bf05e10-666a-41d7-8b6f-51f7b7b3dfd0} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #5 'AAD' of function decrypt, expected Additional authenticated data binary string for GCM mode, got UInt16: In scope SELECT decrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.963455 [ 10263 ] {03c8dece-0359-4b74-b18b-85643faf1e3f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #5 'AAD' of function decrypt, expected Additional authenticated data binary string for GCM mode, got UInt16: In scope SELECT decrypt('aes-128-gcm', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT decrypt('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:42.965099 [ 10263 ] {03c8dece-0359-4b74-b18b-85643faf1e3f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #5 'AAD' of function decrypt, expected Additional authenticated data binary string for GCM mode, got UInt16: In scope SELECT decrypt('aes-128-gcm', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:194: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e82a 8. /build/src/Functions/FunctionsAES.h:438: DB::FunctionDecrypt::getReturnTypeImpl(std::vector> const&) const @ 0x000000000cf4eefa 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:42:43.145108 [ 10263 ] {e09a989a-1378-4f65-b145-fdf39f404030} executeQuery: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 503316603: In scope SELECT ignore(decrypt('aes-128-ecb', '[HIDDEN]')). (OPENSSL_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT ignore(decrypt('aes-128-ecb', '[HIDDEN]'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf505f1 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:43.146093 [ 10263 ] {e09a989a-1378-4f65-b145-fdf39f404030} TCPHandler: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 503316603: In scope SELECT ignore(decrypt('aes-128-ecb', '[HIDDEN]')). (OPENSSL_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf505f1 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:43.164540 [ 10263 ] {dffec1ee-5806-4e72-baa8-8ec1eedd1350} executeQuery: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 503316603: In scope SELECT ignore(decrypt('aes-128-cbc', '[HIDDEN]')). (OPENSSL_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT ignore(decrypt('aes-128-cbc', '[HIDDEN]'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf505f1 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:43.165314 [ 10263 ] {dffec1ee-5806-4e72-baa8-8ec1eedd1350} TCPHandler: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 503316603: In scope SELECT ignore(decrypt('aes-128-cbc', '[HIDDEN]')). (OPENSSL_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)1, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf505f1 8. /build/src/Functions/FunctionsAES.h:0: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f095 9. /build/src/Functions/FunctionsAES.h:473: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4e796 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:44.287290 [ 5772 ] {15de8282-eff2-4d68-a645-11b8cc9f5059} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:38324) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTimeBestEffort('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af07106 10. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06634 11. /build/src/Functions/FunctionsConversion.cpp:2507: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0569c 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:42:44.288274 [ 5772 ] {15de8282-eff2-4d68-a645-11b8cc9f5059} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:696: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x0000000013398152 9. /build/src/Functions/FunctionsConversion.cpp:976: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af07106 10. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af06634 11. /build/src/Functions/FunctionsConversion.cpp:2507: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af0569c 12. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 14. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 15. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 16. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:42:44.851511 [ 5772 ] {4f2d9b1a-96d5-4a26-ad62-2166b05aab88} executeQuery: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:38324) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTime64BestEffort('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af2adb6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af28c14 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af27c3a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:44.852696 [ 5772 ] {4f2d9b1a-96d5-4a26-ad62-2166b05aab88} TCPHandler: Code: 41. DB::Exception: Cannot read DateTime: neither Date nor Time was parsed successfully: In scope SELECT parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000133a1058 7. /build/src/IO/parseDateTimeBestEffort.cpp:582: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000001339a056 8. /build/src/IO/parseDateTimeBestEffort.cpp:674: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a09a4 9. /build/src/IO/parseDateTimeBestEffort.cpp:715: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000133a0953 10. /build/src/Functions/FunctionsConversion.cpp:970: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000af2adb6 11. /build/src/Functions/FunctionsConversion.cpp:2466: COW::immutable_ptr DB::(anonymous namespace)::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000af28c14 12. /build/src/Functions/FunctionsConversion.cpp:2502: DB::(anonymous namespace)::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af27c3a 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:45.152775 [ 5772 ] {173c5bc7-4ed3-4620-b487-3e845fbb4dee} executeQuery: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT toDateTime(''). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:38324) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT toDateTime('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:42:45.336779 [ 5772 ] {173c5bc7-4ed3-4620-b487-3e845fbb4dee} TCPHandler: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT toDateTime(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 19. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:42:45.336897 [ 10263 ] {0f4cdc9d-691a-461f-9e14-f74f7f57e7a6} executeQuery: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 0: while executing 'FUNCTION and(greater(__table1.user_id, 0_UInt8) :: 3, equals(decrypt('aes-256-gcm'_String, __table1.encrypted, 'keykeykeykeykeykeykeykeykeykey02'_String, __table1.iv), 'value2'_String) :: 2) -> and(greater(__table1.user_id, 0_UInt8), equals(decrypt('aes-256-gcm'_String, __table1.encrypted, 'keykeykeykeykeykeykeykeykeykey02'_String, __table1.iv), 'value2'_String)) UInt8 : 7'. (OPENSSL_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:38276) (comment: 01318_decrypt.sql) (in query: SELECT dt, user_id FROM decrypt_null WHERE (user_id > 0) AND (decrypt('aes-256-gcm', '[HIDDEN]') = 'value2')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4fd11 8. /build/src/Functions/FunctionsAES.h:515: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f06b 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 11. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 15. /build/src/Columns/ColumnFunction.cpp:322: DB::ColumnFunction::reduce() const @ 0x000000001bee43c9 16. /build/src/Columns/ColumnFunction.cpp:311: DB::ColumnFunction::reduce() const @ 0x000000001bee41df 17. /build/src/Columns/MaskOperations.cpp:298: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001c238988 18. /build/src/Functions/FunctionsLogical.cpp:625: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeShortCircuit(std::vector>&, std::shared_ptr const&) const @ 0x00000000190acc85 19. /build/src/Functions/FunctionsLogical.cpp:653: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000190abab0 20. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 21. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 22. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 25. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 26. /build/src/Processors/Transforms/FilterTransform.cpp:281: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001da44f1a 27. /build/src/Processors/Transforms/FilterTransform.cpp:264: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001da44d92 28. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 29. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:42:45.339197 [ 10263 ] {0f4cdc9d-691a-461f-9e14-f74f7f57e7a6} TCPHandler: Code: 454. DB::Exception: Failed to decrypt. OpenSSL error code: 0: while executing 'FUNCTION and(greater(__table1.user_id, 0_UInt8) :: 3, equals(decrypt('aes-256-gcm'_String, __table1.encrypted, 'keykeykeykeykeykeykeykeykeykey02'_String, __table1.iv), 'value2'_String) :: 2) -> and(greater(__table1.user_id, 0_UInt8), equals(decrypt('aes-256-gcm'_String, __table1.encrypted, 'keykeykeykeykeykeykeykeykeykey02'_String, __table1.iv), 'value2'_String)) UInt8 : 7'. (OPENSSL_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&&) @ 0x000000000a96ba0c 6. /build/src/Functions/FunctionsAES.cpp:24: DB::OpenSSLDetails::onError(String) @ 0x000000000a96b705 7. /build/src/Functions/FunctionsAES.h:687: COW::immutable_ptr DB::FunctionDecrypt::doDecryptImpl<(DB::OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4fd11 8. /build/src/Functions/FunctionsAES.h:515: COW::immutable_ptr DB::FunctionDecrypt::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000cf4f06b 9. /build/src/Functions/FunctionsAES.h:483: DB::FunctionDecrypt::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cf4ea43 10. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 11. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 15. /build/src/Columns/ColumnFunction.cpp:322: DB::ColumnFunction::reduce() const @ 0x000000001bee43c9 16. /build/src/Columns/ColumnFunction.cpp:311: DB::ColumnFunction::reduce() const @ 0x000000001bee41df 17. /build/src/Columns/MaskOperations.cpp:298: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x000000001c238988 18. /build/src/Functions/FunctionsLogical.cpp:625: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeShortCircuit(std::vector>&, std::shared_ptr const&) const @ 0x00000000190acc85 19. /build/src/Functions/FunctionsLogical.cpp:653: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000190abab0 20. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 21. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 22. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 25. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 26. /build/src/Processors/Transforms/FilterTransform.cpp:281: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001da44f1a 27. /build/src/Processors/Transforms/FilterTransform.cpp:264: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001da44d92 28. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 29. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 2025.03.05 21:42:47.755392 [ 20529 ] {7477cd70-8d85-49d6-954e-08e9b01c5ced} executeQuery: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: In scope SELECT 1 = '1.0'. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:38352) (comment: 01311_comparison_with_constant_string.sql) (in query: -- it should work but it doesn't. SELECT 1 = '1.0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/convertFieldToType.cpp:546: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e8c6 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 8. /build/src/Functions/FunctionsComparison.h:918: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d35fc4e 9. /build/src/Functions/FunctionsComparison.h:1319: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d348904 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:47.756353 [ 20529 ] {7477cd70-8d85-49d6-954e-08e9b01c5ced} TCPHandler: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: In scope SELECT 1 = '1.0'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Interpreters/convertFieldToType.cpp:546: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e8c6 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 8. /build/src/Functions/FunctionsComparison.h:918: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d35fc4e 9. /build/src/Functions/FunctionsComparison.h:1319: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d348904 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:42:48.300643 [ 20529 ] {befc03d5-4819-41a7-bf07-a22ed68e580b} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: In scope SELECT 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF) (version 24.3.12.76.altinitystable) (from [::1]:38352) (comment: 01311_comparison_with_constant_string.sql) (in query: SELECT 0 = '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000013389e3b 7. ? @ 0x000000001a039731 8. /build/src/IO/ReadHelpers.h:529: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x000000001a02c23f 9. /build/src/DataTypes/Serializations/SerializationNumber.cpp:34: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001a02c0b8 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000aa2b9f7 11. /build/src/Interpreters/convertFieldToType.cpp:541: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e5aa 12. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 13. /build/src/Functions/FunctionsComparison.h:918: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d35fc4e 14. /build/src/Functions/FunctionsComparison.h:1319: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d348904 15. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:48.301444 [ 20529 ] {befc03d5-4819-41a7-bf07-a22ed68e580b} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: In scope SELECT 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000013389e3b 7. ? @ 0x000000001a039731 8. /build/src/IO/ReadHelpers.h:529: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x000000001a02c23f 9. /build/src/DataTypes/Serializations/SerializationNumber.cpp:34: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001a02c0b8 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000aa2b9f7 11. /build/src/Interpreters/convertFieldToType.cpp:541: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5e5aa 12. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 13. /build/src/Functions/FunctionsComparison.h:918: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d35fc4e 14. /build/src/Functions/FunctionsComparison.h:1319: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d348904 15. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 17. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:42:49.495086 [ 20529 ] {58a79949-0856-4d31-93b8-cab96e512e29} executeQuery: Code: 43. DB::Exception: Point's component must not be NaN: In scope SELECT arrayMap(a -> arrayMap(b -> arrayMap(c -> (round(c.1, 6), round(c.2, 6)), b), a), polygonsUnionCartesian([[[(2., 100.0000991821289), (0., 3.), (1., 2.9), (2., 2.6), (2.6, 2.), (2.9, 1), (3., 0.), (100.0000991821289, 2.)]]], [[[(1., 1.), (1000.0001220703125, nan), (4., 4.), (4., 1.), (1., 1.)]]])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:60810) (comment: 01305_polygons_union.sql) (in query: SELECT arrayMap(a -> arrayMap(b -> arrayMap(c -> (round(c.1, 6), round(c.2, 6)), b), a), polygonsUnionCartesian([[[(2., 100.0000991821289), (0., 3.), (1., 2.9), (2., 2.6), (2.6, 2.), (2.9, 1), (3., 0.), (100.0000991821289, 2.)]]], [[[(1., 1.), (1000.0001220703125, nan), (4., 4.), (4., 1.), (1., 1.)]]]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/geometryConverters.h:76: DB::ColumnToPointsConverter>::convert(COW::immutable_ptr) @ 0x00000000113c78ec 7. /build/src/Functions/geometryConverters.h:100: DB::ColumnToRingsConverter>::convert(COW::immutable_ptr) @ 0x00000000113c7267 8. /build/src/Functions/geometryConverters.h:120: DB::ColumnToPolygonsConverter>::convert(COW::immutable_ptr) @ 0x00000000113ca53c 9. /build/src/Functions/geometryConverters.h:155: DB::ColumnToMultiPolygonsConverter>::convert(COW::immutable_ptr) @ 0x00000000113cd276 10. /build/src/Functions/polygonsUnion.cpp:78: auto DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConverterType>>>(auto const&, auto const&) const @ 0x00000000117ee0b2 11. /build/src/Functions/geometryConverters.h:368: auto auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const::'lambda'(auto const&)::operator()>>>(auto const&) const @ 0x00000000117ed804 12. /build/src/Functions/geometryConverters.h:352: void DB::callOnGeometryDataType, auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000117ed575 13. /build/src/Functions/geometryConverters.h:364: auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const @ 0x00000000117e8a61 14. /build/src/Functions/geometryConverters.h:352: void DB::callOnGeometryDataType, void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000117e8755 15. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x00000000117e828a 16. /build/src/Functions/polygonsUnion.cpp:65: DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000117e80c3 17. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:42:49.496401 [ 20529 ] {58a79949-0856-4d31-93b8-cab96e512e29} TCPHandler: Code: 43. DB::Exception: Point's component must not be NaN: In scope SELECT arrayMap(a -> arrayMap(b -> arrayMap(c -> (round(c.1, 6), round(c.2, 6)), b), a), polygonsUnionCartesian([[[(2., 100.0000991821289), (0., 3.), (1., 2.9), (2., 2.6), (2.6, 2.), (2.9, 1), (3., 0.), (100.0000991821289, 2.)]]], [[[(1., 1.), (1000.0001220703125, nan), (4., 4.), (4., 1.), (1., 1.)]]])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/geometryConverters.h:76: DB::ColumnToPointsConverter>::convert(COW::immutable_ptr) @ 0x00000000113c78ec 7. /build/src/Functions/geometryConverters.h:100: DB::ColumnToRingsConverter>::convert(COW::immutable_ptr) @ 0x00000000113c7267 8. /build/src/Functions/geometryConverters.h:120: DB::ColumnToPolygonsConverter>::convert(COW::immutable_ptr) @ 0x00000000113ca53c 9. /build/src/Functions/geometryConverters.h:155: DB::ColumnToMultiPolygonsConverter>::convert(COW::immutable_ptr) @ 0x00000000113cd276 10. /build/src/Functions/polygonsUnion.cpp:78: auto DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConverterType>>>(auto const&, auto const&) const @ 0x00000000117ee0b2 11. /build/src/Functions/geometryConverters.h:368: auto auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const::'lambda'(auto const&)::operator()>>>(auto const&) const @ 0x00000000117ed804 12. /build/src/Functions/geometryConverters.h:352: void DB::callOnGeometryDataType, auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000117ed575 13. /build/src/Functions/geometryConverters.h:364: auto void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)::operator()>>>(auto const&) const @ 0x00000000117e8a61 14. /build/src/Functions/geometryConverters.h:352: void DB::callOnGeometryDataType, void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000117e8755 15. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes, DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x00000000117e828a 16. /build/src/Functions/polygonsUnion.cpp:65: DB::(anonymous namespace)::FunctionPolygonsUnion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000117e80c3 17. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 19. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 20. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 21. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 22. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 23. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:43:04.963131 [ 20553 ] {f8e18cee-9c75-4352-b629-1e58c38e1b75} executeQuery: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: In scope SELECT randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:35922) (comment: 01278_random_string_utf8.sql) (in query: SELECT randomStringUTF8('string');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomStringUTF8.cpp:44: DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119d1dad 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:04.964106 [ 20553 ] {f8e18cee-9c75-4352-b629-1e58c38e1b75} TCPHandler: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: In scope SELECT randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomStringUTF8.cpp:44: DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119d1dad 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:09.127117 [ 730 ] {07180e19-3db0-4d5f-8d43-1d9841e4bd3a} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: -- Error cases SELECT toUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.128129 [ 730 ] {07180e19-3db0-4d5f-8d43-1d9841e4bd3a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.143799 [ 730 ] {9eb35931-d11f-4dab-a660-21c2e8f3d577} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.144586 [ 730 ] {9eb35931-d11f-4dab-a660-21c2e8f3d577} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.168511 [ 730 ] {6005aaf9-a0c8-4b45-89c2-cfd88289af9a} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.169273 [ 730 ] {6005aaf9-a0c8-4b45-89c2-cfd88289af9a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: In scope SELECT toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.385271 [ 730 ] {5a5a0b15-0ea5-4b07-a160-814fa8e63ff4} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Milli, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.386287 [ 730 ] {5a5a0b15-0ea5-4b07-a160-814fa8e63ff4} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Milli, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.404128 [ 730 ] {f660a8ed-0161-495b-883c-987e427e44b4} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Micro, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.404924 [ 730 ] {f660a8ed-0161-495b-883c-987e427e44b4} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Micro, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.422218 [ 730 ] {179ddb7c-d638-4b09-8f1f-c7eeffd79b85} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Nano, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.423083 [ 730 ] {179ddb7c-d638-4b09-8f1f-c7eeffd79b85} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Nano, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:09.449719 [ 730 ] {e996ca19-690b-406a-ae7c-913a4baed067} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.451313 [ 730 ] {e996ca19-690b-406a-ae7c-913a4baed067} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.477913 [ 730 ] {2f27fbb5-6f78-41fa-9a5c-dce827ce23a6} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.479400 [ 730 ] {2f27fbb5-6f78-41fa-9a5c-dce827ce23a6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.498915 [ 730 ] {2c05305b-1da3-4ddb-99ee-a981dd3e77ad} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:45094) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:09.499788 [ 730 ] {2c05305b-1da3-4ddb-99ee-a981dd3e77ad} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: In scope SELECT toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:11.197981 [ 10263 ] {691c2ec2-0b04-4301-a85c-72e82d2deb9a} executeQuery: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: In scope SELECT extractGroups('hello', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/extractGroups.cpp:64: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764328 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.198814 [ 10263 ] {691c2ec2-0b04-4301-a85c-72e82d2deb9a} TCPHandler: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: In scope SELECT extractGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/extractGroups.cpp:64: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764328 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.360607 [ 10263 ] {a33ea241-786c-469c-8936-f51fbe1d7fba} executeQuery: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: In scope SELECT extractAllGroups('hello', ''). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/extractAllGroups.h:93: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762606 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.361511 [ 10263 ] {a33ea241-786c-469c-8936-f51fbe1d7fba} TCPHandler: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: In scope SELECT extractAllGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/extractAllGroups.h:93: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762606 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.529660 [ 10263 ] {33c4bc3a-dc16-4c29-a67c-398336da2efc} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractGroups('hello', ' '). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.530524 [ 10263 ] {33c4bc3a-dc16-4c29-a67c-398336da2efc} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.697155 [ 10263 ] {a86040d0-bc98-4ed6-9a81-281fd1785a4e} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractAllGroups('hello', ' '). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.698084 [ 10263 ] {a86040d0-bc98-4ed6-9a81-281fd1785a4e} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractAllGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.714291 [ 10263 ] {823aea99-63ee-42ad-963c-7dddeebc5b2e} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractGroups('hello', '\0'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.715213 [ 10263 ] {823aea99-63ee-42ad-963c-7dddeebc5b2e} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.730890 [ 10263 ] {b81361fc-3c13-42b6-bedd-fa5f7db966d7} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractAllGroups('hello', '\0'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.731685 [ 10263 ] {b81361fc-3c13-42b6-bedd-fa5f7db966d7} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : In scope SELECT extractAllGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.751729 [ 10263 ] {bb986113-0c97-4a75-a85f-6abbb2b98565} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: In scope SELECT extractGroups('hello', 'world'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.752861 [ 10263 ] {bb986113-0c97-4a75-a85f-6abbb2b98565} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: In scope SELECT extractGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:70: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764480 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.772824 [ 10263 ] {b21d5ba0-60cb-45cc-921e-d4c8bb20e632} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: In scope SELECT extractAllGroups('hello', 'world'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.773873 [ 10263 ] {b21d5ba0-60cb-45cc-921e-d4c8bb20e632} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: In scope SELECT extractAllGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:99: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762735 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:11.950960 [ 10263 ] {8a593876-d26b-4785-a08b-6dfd9603b1a7} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: In scope SELECT extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:75: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764592 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:11.951940 [ 10263 ] {8a593876-d26b-4785-a08b-6dfd9603b1a7} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: In scope SELECT extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractGroups.cpp:75: DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d764592 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:43:12.133017 [ 10263 ] {78115290-78ee-4942-ba32-2ea8c52da0b8} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: In scope SELECT extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45130) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:104: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762832 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:12.134001 [ 10263 ] {78115290-78ee-4942-ba32-2ea8c52da0b8} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: In scope SELECT extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/extractAllGroups.h:104: DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d762832 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:43:15.017140 [ 730 ] {97d5fcde-53dc-4dbb-87e8-368ad9fe0d3b} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:45178) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a Nullable(INT) NULL, b INT NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:547: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c1d5 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:15.018154 [ 730 ] {97d5fcde-53dc-4dbb-87e8-368ad9fe0d3b} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:547: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c1d5 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:15.039751 [ 730 ] {6f260a56-cc7d-417c-b283-7bedaf6de5e3} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:45178) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a INT NULL, b Nullable(INT) NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:547: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c1d5 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:15.040693 [ 730 ] {6f260a56-cc7d-417c-b283-7bedaf6de5e3} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:547: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c1d5 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:15.385363 [ 730 ] {d1e41a52-516c-4148-b05a-355bb79586c5} executeQuery: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:45178) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE cannot_be_nullable (n Int8, a Array(UInt8)) ENGINE=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:553: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c2a7 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:15.386155 [ 730 ] {d1e41a52-516c-4148-b05a-355bb79586c5} TCPHandler: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/DataTypeNullable.cpp:29: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x0000000019f1b40c 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x00000000160296e6 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000016029661 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x00000000160295e7 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000016029517 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x00000000160294c6 12. /build/src/DataTypes/DataTypeNullable.cpp:117: DB::makeNullable(std::shared_ptr const&) @ 0x0000000019f1be6e 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:553: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00c2a7 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:23.088996 [ 15147 ] {cfd2f050-2f4b-4684-9e92-0e69c4b69e80} executeQuery: Code: 70. DB::Exception: Conversion from AggregateFunction(argMax, String, UInt64) to AggregateFunction(argMax, Enum8('' = -1, 'Male' = 1, 'Female' = 2), UInt64) is not supported: While processing _CAST(arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)]) AS t_tmp_alter18396175283199922881, 'AggregateFunction(argMax, Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2), UInt64)') AS t: default expression and column type are incompatible. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:44450) (comment: 01258_wrong_cast_filimonov.sql) (in query: CREATE TABLE x (`id` UInt64, `t` AggregateFunction(argMax, Enum8('' = -1, 'Male' = 1, 'Female' = 2), UInt64) DEFAULT arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)])) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 24549, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., replace_long_file_name_to_hash = false, max_file_name_length = 9, min_bytes_for_full_part_storage = 534774629, compact_parts_max_bytes_to_buffer = 47917512, compact_parts_max_granules_to_buffer = 148, compact_parts_merge_max_bytes_to_prefetch_part = 19153742, merge_max_block_size = 16071, old_parts_lifetime = 480., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 9381223074, index_granularity_bytes = 9236638, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = false, marks_compress_block_size = 89994, primary_key_compress_block_size = 73068), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:3480: DB::(anonymous namespace)::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000aa70d6f 7. /build/src/Functions/FunctionsConversion.cpp:4779: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e6fd 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Interpreters/ActionsDAG.cpp:317: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001a435d98 12. /build/src/Interpreters/ActionsDAG.cpp:244: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43575b 13. /build/src/Interpreters/ActionsVisitor.cpp:645: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a708007 14. /build/src/Interpreters/ActionsVisitor.h:182: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a714121 15. /build/src/Interpreters/ActionsVisitor.cpp:1318: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a70d80f 16. /build/src/Interpreters/ActionsVisitor.cpp:704: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a7084d7 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001a6fe560 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001a6fe741 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001a6fe4ea 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001a6dc345 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:484: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001a6c90bd 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1754: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001a6d5458 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1787: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001a6d57c3 24. /build/src/Storages/ColumnsDescription.cpp:948: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001c26cd88 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:607: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00cc7a 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:23.090129 [ 15147 ] {cfd2f050-2f4b-4684-9e92-0e69c4b69e80} TCPHandler: Code: 70. DB::Exception: Conversion from AggregateFunction(argMax, String, UInt64) to AggregateFunction(argMax, Enum8('' = -1, 'Male' = 1, 'Female' = 2), UInt64) is not supported: While processing _CAST(arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)]) AS t_tmp_alter18396175283199922881, 'AggregateFunction(argMax, Enum8(\'\' = -1, \'Male\' = 1, \'Female\' = 2), UInt64)') AS t: default expression and column type are incompatible. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:3480: DB::(anonymous namespace)::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000aa70d6f 7. /build/src/Functions/FunctionsConversion.cpp:4779: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e6fd 8. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 9. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 10. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 11. /build/src/Interpreters/ActionsDAG.cpp:317: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001a435d98 12. /build/src/Interpreters/ActionsDAG.cpp:244: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43575b 13. /build/src/Interpreters/ActionsVisitor.cpp:645: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a708007 14. /build/src/Interpreters/ActionsVisitor.h:182: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a714121 15. /build/src/Interpreters/ActionsVisitor.cpp:1318: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a70d80f 16. /build/src/Interpreters/ActionsVisitor.cpp:704: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a7084d7 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001a6fe560 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001a6fe741 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001a6fe4ea 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001a6dc345 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:484: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001a6c90bd 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1754: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001a6d5458 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1787: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001a6d57c3 24. /build/src/Storages/ColumnsDescription.cpp:948: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001c26cd88 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:607: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00cc7a 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:43:23.803521 [ 15147 ] {5ac40edb-9c63-4af5-a71a-b1c5c8d07d4a} executeQuery: Code: 137. DB::Exception: Unknown dictionary layout type: iptrie. (UNKNOWN_ELEMENT_IN_CONFIG) (version 24.3.12.76.altinitystable) (from [::1]:44456) (comment: 01256_misspell_layout_name_podshumok.sql) (in query: CREATE DICTIONARY testip ( `network` String, `test_field` String ) PRIMARY KEY network SOURCE(FILE(PATH '/tmp/test.csv' FORMAT CSVWithNames)) LIFETIME(MIN 0 MAX 300) LAYOUT(IPTRIE());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryFactory.cpp:74: DB::DictionaryFactory::isComplex(String const&) const @ 0x0000000019052086 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:632: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a087bcc 8. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:23.964666 [ 7095 ] {0307e92d-5fda-419d-b1df-6a9acf454ae1} void DB::ParallelParsingInputFormat::onBackgroundException(): Code: 27. DB::Exception: Cannot parse input: expected '\t' at end of stream.: (at row 1) : Buffer has gone, cannot extract information about what has been parsed. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.h:205: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b780360 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:88: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000001d9c79e1 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f206 10. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 11. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 12. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 13. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 16. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 (version 24.3.12.76.altinitystable) 2025.03.05 21:43:23.964684 [ 15147 ] {5ac40edb-9c63-4af5-a71a-b1c5c8d07d4a} TCPHandler: Code: 137. DB::Exception: Unknown dictionary layout type: iptrie. (UNKNOWN_ELEMENT_IN_CONFIG), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryFactory.cpp:74: DB::DictionaryFactory::isComplex(String const&) const @ 0x0000000019052086 7. /build/src/Dictionaries/getDictionaryConfigurationFromAST.cpp:632: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x000000001a087bcc 8. /build/src/Storages/StorageDictionary.cpp:315: DB::registerStorageDictionary(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c328ef0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c328bdd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c328b7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c328b3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c328b05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:23.966801 [ 20553 ] {0307e92d-5fda-419d-b1df-6a9acf454ae1} executeQuery: Code: 27. DB::Exception: Cannot parse input: expected '\t' at end of stream.: (at row 1) : Buffer has gone, cannot extract information about what has been parsed.: While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:36728) (comment: 01271_http_code_parse_error.sh) (in query: insert into test (f1, f2) format TSV ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.h:205: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b780360 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:88: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000001d9c79e1 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f206 10. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 11. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 12. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 13. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 16. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 2025.03.05 21:43:23.969275 [ 20553 ] {0307e92d-5fda-419d-b1df-6a9acf454ae1} DynamicQueryHandler: Code: 27. DB::Exception: Cannot parse input: expected '\t' at end of stream.: (at row 1) : Buffer has gone, cannot extract information about what has been parsed.: While executing ParallelParsingBlockInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/IO/ReadHelpers.cpp:93: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x0000000013367562 7. /build/src/IO/ReadHelpers.h:205: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b780360 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:88: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000001d9c79e1 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f206 10. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 11. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 12. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 13. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:175: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001d7c16bf 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:108: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001d7bfcb9 16. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:289: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x000000001d7c2b61 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d7c2b15 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d7c2af5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d7c2ad5 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d7c2aa0 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 23. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 24. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 28. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 (version 24.3.12.76.altinitystable) 2025.03.05 21:43:31.656992 [ 10217 ] {6ee47e47-bab1-4811-8a1e-3e62f5a42527} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'ArrLen' in scope SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:35650) (comment: 01247_some_msan_crashs_from_22517.sql) (in query: SELECT x FROM (SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7911: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9a8f 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:43:31.658301 [ 10217 ] {6ee47e47-bab1-4811-8a1e-3e62f5a42527} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'ArrLen' in scope SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2931: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0b07ec 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4158: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0aee9b 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6333: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a022a 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7911: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9a8f 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:43:37.756051 [ 20553 ] {577f8e83-ff6a-4b84-b9c4-436008114290} executeQuery: Code: 15. DB::Exception: Cannot rename to `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:35730) (comment: 01213_alter_rename_column.sql) (in query: ALTER TABLE table_for_rename RENAME COLUMN value3 to value2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1514: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252226 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:37.757160 [ 20553 ] {577f8e83-ff6a-4b84-b9c4-436008114290} TCPHandler: Code: 15. DB::Exception: Cannot rename to `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1514: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252226 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:37.895691 [ 20553 ] {eed21777-b354-44c1-8361-1f939092903e} executeQuery: Code: 36. DB::Exception: Cannot rename column '`value3`' to two different names in a single ALTER query. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:35730) (comment: 01213_alter_rename_column.sql) (in query: ALTER TABLE table_for_rename RENAME COLUMN value3 TO r1, RENAME COLUMN value3 TO r2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1489: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251dab 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:37.896451 [ 20553 ] {eed21777-b354-44c1-8361-1f939092903e} TCPHandler: Code: 36. DB::Exception: Cannot rename column '`value3`' to two different names in a single ALTER query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1489: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251dab 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:38.025740 [ 20553 ] {a3b5752a-4428-4985-ba06-bdf79e5efaa7} executeQuery: Code: 48. DB::Exception: Transitive renames in a single ALTER query are not allowed (don't make sense). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:35730) (comment: 01213_alter_rename_column.sql) (in query: ALTER TABLE table_for_rename RENAME COLUMN value3 TO r1, RENAME COLUMN r1 TO value1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1487: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251c65 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:38.026559 [ 20553 ] {a3b5752a-4428-4985-ba06-bdf79e5efaa7} TCPHandler: Code: 48. DB::Exception: Transitive renames in a single ALTER query are not allowed (don't make sense). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1487: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251c65 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:38.428415 [ 20553 ] {df66affd-71eb-4cab-8dad-2cddd26e9a96} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value100` to rename. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:35730) (comment: 01213_alter_rename_column.sql) (in query: ALTER TABLE table_for_rename RENAME COLUMN value100 to renamed_value100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1507: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252097 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:38.429352 [ 20553 ] {df66affd-71eb-4cab-8dad-2cddd26e9a96} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value100` to rename. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1507: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c252097 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:41.817868 [ 730 ] {63d650ce-ac4c-4d59-9952-94bf8f681c29} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:609: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5eef8 11. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 12. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 14. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:41.818891 [ 730 ] {63d650ce-ac4c-4d59-9952-94bf8f681c29} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:609: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5eef8 11. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 12. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 14. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:41.838281 [ 730 ] {0b4f736c-a260-4670-b746-21ea6427d16b} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 2) where d not in (1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:609: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5eef8 11. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 12. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 14. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:41.839099 [ 730 ] {0b4f736c-a260-4670-b746-21ea6427d16b} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:609: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5eef8 11. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 12. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 14. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:43:42.051743 [ 730 ] {a19e09af-e4f9-4d2e-9b81-648e362a2856} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 3) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb65a6d 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b8d 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.052945 [ 730 ] {a19e09af-e4f9-4d2e-9b81-648e362a2856} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb65a6d 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b8d 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.275494 [ 730 ] {3a74af39-502a-4d53-a135-e2ca47abefda} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 4) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.276512 [ 730 ] {3a74af39-502a-4d53-a135-e2ca47abefda} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb658ad 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61b65 8. /build/src/Interpreters/convertFieldToType.cpp:234: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b267 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.489480 [ 730 ] {678ca251-337a-46a9-a15e-1262dc1854be} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 5) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb66bad 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61ecd 8. /build/src/Interpreters/convertFieldToType.cpp:235: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2a7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.490599 [ 730 ] {678ca251-337a-46a9-a15e-1262dc1854be} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb66bad 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61ecd 8. /build/src/Interpreters/convertFieldToType.cpp:235: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2a7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.707606 [ 730 ] {4d4e2366-33ea-4128-90fe-58d142bdaf65} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 6) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb669cd 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61ea5 8. /build/src/Interpreters/convertFieldToType.cpp:235: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2a7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.708962 [ 730 ] {4d4e2366-33ea-4128-90fe-58d142bdaf65} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb669cd 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x000000001bb61ea5 8. /build/src/Interpreters/convertFieldToType.cpp:235: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2a7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.917320 [ 730 ] {a75be9b5-47a5-4980-8f4a-ed5b67d5a516} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(26, 8)', 0, 7) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb67d6d 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb6220d 8. /build/src/Interpreters/convertFieldToType.cpp:236: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2e7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:42.918605 [ 730 ] {a75be9b5-47a5-4980-8f4a-ed5b67d5a516} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb67d6d 7. /build/src/Interpreters/convertFieldToType.cpp:136: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb6220d 8. /build/src/Interpreters/convertFieldToType.cpp:236: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2e7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:43.129793 [ 730 ] {e49d5a97-d841-4ab2-a511-3698e1ffb4fe} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:60362) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(27, 8)', 0, 8) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb67b6d 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb621e5 8. /build/src/Interpreters/convertFieldToType.cpp:236: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2e7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:43.131051 [ 730 ] {e49d5a97-d841-4ab2-a511-3698e1ffb4fe} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:92: DB::Field DB::(anonymous namespace)::convertIntToDecimalType>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb67b6d 7. /build/src/Interpreters/convertFieldToType.cpp:134: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x000000001bb621e5 8. /build/src/Interpreters/convertFieldToType.cpp:236: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5b2e7 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5a7fd 10. /build/src/Interpreters/convertFieldToType.cpp:631: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001bb5f1dd 11. /build/src/Analyzer/SetUtils.cpp:73: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Tuple const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b13fcef 12. /build/src/Analyzer/SetUtils.cpp:163: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001b13ec83 13. /build/src/Planner/CollectSets.cpp:65: DB::(anonymous namespace)::CollectSetsVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001b53f6cb 14. /build/src/Analyzer/InDepthQueryTreeVisitor.h:66: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f036 15. /build/src/Analyzer/InDepthQueryTreeVisitor.h:91: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001b53f15f 16. /build/src/Analyzer/InDepthQueryTreeVisitor.h:68: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001b53f053 17. /build/src/Planner/CollectSets.cpp:121: DB::collectSets(std::shared_ptr const&, DB::PlannerContext&) @ 0x000000001b53efaa 18. /build/src/Planner/Planner.cpp:1384: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50bb6b 19. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 21. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:44.140020 [ 23456 ] {mysql:0:4903103f-a8d2-435b-ac7c-6df5f91039d3} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'table_that_does_not_exist' in scope SELECT * FROM table_that_does_not_exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:46936) (in query: select * from table_that_does_not_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 24. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 25. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:43:44.141160 [ 23456 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 60. DB::Exception: Unknown table expression identifier 'table_that_does_not_exist' in scope SELECT * FROM table_that_does_not_exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 24. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 25. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 (version 24.3.12.76.altinitystable) 2025.03.05 21:43:44.366233 [ 23456 ] {mysql:0:cc649c26-5b09-4cf4-9aa5-fd5e649fab2d} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(__table1.number :: 1) -> throwIf(__table1.number) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 24.3.12.76.altinitystable) (from [::1]:46936) (in query: select throwIf(number) from numbers(2) settings max_block_size=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e065e3 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04b56 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 26. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:43:44.368448 [ 23456 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(__table1.number :: 1) -> throwIf(__table1.number) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000011e065e3 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011e04b56 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 21. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 22. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 24. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 25. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 26. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e (version 24.3.12.76.altinitystable) 2025.03.05 21:43:44.532661 [ 23456 ] {mysql:0:485b5cd2-179e-4301-aad6-a0e8f8675b84} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:46936) (in query: select * from system.one format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Server/MySQLHandler.cpp:496: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001d43364e 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d43357d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d43353d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d4334fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d4334c5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001bbc287e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001bbbbe9d 13. /build/src/Interpreters/executeQuery.cpp:1595: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5199 14. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 15. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:44.534919 [ 23456 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Server/MySQLHandler.cpp:496: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001d43364e 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d43357d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d43353d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d4334fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d4334c5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001bbc287e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001bbbbe9d 13. /build/src/Interpreters/executeQuery.cpp:1595: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5199 14. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 15. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:43:44.551326 [ 23456 ] {mysql:0:ccc263fc-d622-41ec-85c2-17e8c3bc5588} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:46936) (in query: select * from system.one format JSON), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Server/MySQLHandler.cpp:496: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001d43364e 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d43357d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d43353d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d4334fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d4334c5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001bbc287e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001bbbbe9d 13. /build/src/Interpreters/executeQuery.cpp:1595: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5199 14. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 15. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:43:44.553274 [ 23456 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Server/MySQLHandler.cpp:496: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001d43364e 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d43357d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d43353d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d4334fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d4334c5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001bbc287e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001bbbbe9d 13. /build/src/Interpreters/executeQuery.cpp:1595: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5199 14. /build/src/Server/MySQLHandler.cpp:508: DB::MySQLHandler::comQuery(DB::ReadBuffer&, bool) @ 0x000000001d42f1cb 15. /build/src/Server/MySQLHandler.cpp:284: DB::MySQLHandler::run() @ 0x000000001d42b688 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:03.029352 [ 23618 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_20536} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 11278063108171229844'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:50688) (in query: alter table test update value=12 where id=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:03.030916 [ 23618 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_20536} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 11278063108171229844'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:03.368854 [ 15113 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_31027} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:50822) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:03.370486 [ 15113 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_31027} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:03.396155 [ 15113 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_2524} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:50888) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:03.397920 [ 15113 ] {01167_isolation_hermitage_test_dpbi1vkw_tx2_2524} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:05.114532 [ 15113 ] {337393d6-eac3-43eb-8bf0-1488ac65a686} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:55346) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:05.115529 [ 15113 ] {337393d6-eac3-43eb-8bf0-1488ac65a686} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:05.565945 [ 15113 ] {1da9dd76-d368-4713-96ab-7c3dae6e2cf6} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 21.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:55346) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(21);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:05.567367 [ 15113 ] {1da9dd76-d368-4713-96ab-7c3dae6e2cf6} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 21.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:05.594309 [ 15113 ] {e46fc1a9-77d5-4f90-9ef0-7a09ababf8cc} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:55346) (comment: 01132_max_rows_to_read.sql) (in query: -- check early exception if the estimated number of rows is high SELECT * FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:05.595435 [ 15113 ] {e46fc1a9-77d5-4f90-9ef0-7a09ababf8cc} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 20.00, current rows: 30.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:624: DB::ReadFromSystemNumbersStep::checkLimits(unsigned long) @ 0x000000001ddfd14b 9. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:547: DB::ReadFromSystemNumbersStep::makePipe() @ 0x000000001ddfc040 10. /build/src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp:424: DB::ReadFromSystemNumbersStep::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ddfadf5 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:09.847292 [ 1478 ] {f7426e52-08f2-4a9b-9979-82edd142d0d9} executeQuery: Code: 57. DB::Exception: Table test_dp7unhlq.none already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: /* ddl_entry=query-0000000016 */ CREATE TABLE test_dp7unhlq.none UUID '5d88e574-beb3-439c-8bd2-1159b93e5c7f' (`n` Int32) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:09.848731 [ 1478 ] {f7426e52-08f2-4a9b-9979-82edd142d0d9} DDLWorker: Query /* ddl_entry=query-0000000016 */ CREATE TABLE test_dp7unhlq.none UUID '5d88e574-beb3-439c-8bd2-1159b93e5c7f' (`n` Int32) ENGINE = Memory wasn't finished successfully: Code: 57. DB::Exception: Table test_dp7unhlq.none already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:10.092663 [ 10876 ] {482dc59d-f0d8-4764-849e-e1169e700997} executeQuery: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.none already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:36852) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: create table none on cluster test_shard_localhost (n int) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d511b1d 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001d5119aa 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d511939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001d51189d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001d5117a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5116f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5116d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5116a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:10.093402 [ 10876 ] {482dc59d-f0d8-4764-849e-e1169e700997} TCPHandler: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.none already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d511b1d 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001d5119aa 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d511939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001d51189d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001d5117a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5116f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5116d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5116a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:15.739768 [ 23502 ] {e054d0f9-3869-4b06-8620-ca569f8fe1cd} executeQuery: Code: 159. DB::Exception: Distributed DDL task /clickhouse/task_queue/ddl/query-0000000017 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 1.220000741 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:36910) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: drop table if exists none on cluster test_unavailable_shard;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d511b1d 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001d5119aa 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d511939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001d51189d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001d5117a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5116f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5116d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5116a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:15.740790 [ 23502 ] {e054d0f9-3869-4b06-8620-ca569f8fe1cd} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /clickhouse/task_queue/ddl/query-0000000017 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 1.220000741 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d511b1d 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001d5119aa 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d511939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001d51189d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001d5117a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d511715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5116f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5116d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5116a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:28.413228 [ 1478 ] {f9596827-f2ce-4ba2-8909-509f6404c992} executeQuery: Code: 57. DB::Exception: Table test_dp7unhlq.throw already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: /* ddl_entry=query-0000000019 */ CREATE TABLE test_dp7unhlq.throw UUID '1b61851e-d0b7-4d67-8415-48adca1b88ec' (`n` Int32) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:28.414191 [ 1478 ] {f9596827-f2ce-4ba2-8909-509f6404c992} DDLWorker: Query /* ddl_entry=query-0000000019 */ CREATE TABLE test_dp7unhlq.throw UUID '1b61851e-d0b7-4d67-8415-48adca1b88ec' (`n` Int32) ENGINE = Memory wasn't finished successfully: Code: 57. DB::Exception: Table test_dp7unhlq.throw already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:28.605483 [ 730 ] {aaefe799-5097-482b-b7a4-5ff930cd4792} executeQuery: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.throw already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:54854) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: create table throw on cluster test_shard_localhost (n int) engine=Memory format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:28.606452 [ 730 ] {aaefe799-5097-482b-b7a4-5ff930cd4792} TCPHandler: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.throw already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:32.982071 [ 730 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:54952). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x00000000134e5d2c 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x00000000134e4ea0 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/ReadBuffer.h:106: DB::TCPHandler::runImpl() @ 0x000000001d46d877 9. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:33.516490 [ 24254 ] {7d665182-1795-46d3-8e17-90cfe92dd0fc} executeQuery: Code: 159. DB::Exception: Distributed DDL task /clickhouse/task_queue/ddl/query-0000000020 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 1.220000731 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:54936) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: drop table if exists throw on cluster test_unavailable_shard;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:33.517624 [ 24254 ] {7d665182-1795-46d3-8e17-90cfe92dd0fc} TCPHandler: Code: 159. DB::Exception: Distributed DDL task /clickhouse/task_queue/ddl/query-0000000020 is not finished on 1 of 2 hosts (0 of them are currently executing the task, 0 are inactive). They are going to execute the query in background. Was waiting for 1.220000731 seconds, which is longer than distributed_ddl_task_timeout. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, unsigned long&, unsigned long&&, unsigned long&, unsigned long&&, double&&, char const*&&) @ 0x000000001bb9e29d 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:457: DB::DDLQueryStatusSource::generate() @ 0x000000001bb975e8 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:43.531981 [ 24805 ] {4c094e43-1098-4566-9c10-d7d887072878} executeQuery: Code: 174. DB::Exception: Cyclic aliases: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 24.3.12.76.altinitystable) (from [::1]:52254) (comment: 01093_cyclic_defaults_filimonov.sql) (in query: CREATE TABLE test ( `a0` UInt64 DEFAULT a1 + 1, `a1` UInt64 DEFAULT a0 + 1, `a2` UInt64 DEFAULT a3 + a4, `a3` UInt64 DEFAULT a2 + 1, `a4` UInt64 ALIAS a3 + 1 ) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/QueryNormalizer.cpp:109: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1b5bd 7. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1be7e 8. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 9. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 10. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 11. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 12. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 13. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 14. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 15. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 16. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 17. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 18. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 19. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cd24 20. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 21. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001bab28a0 22. /build/src/Interpreters/TreeRewriter.cpp:1601: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001baa2e6d 23. /build/src/Interpreters/TreeRewriter.cpp:1474: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa6acc 24. /build/src/Storages/ColumnsDescription.cpp:947: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001c26ccee 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:607: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00cc7a 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:44:43.532946 [ 24805 ] {4c094e43-1098-4566-9c10-d7d887072878} TCPHandler: Code: 174. DB::Exception: Cyclic aliases: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/QueryNormalizer.cpp:109: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1b5bd 7. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1be7e 8. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 9. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 10. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 11. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 12. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 13. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 14. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 15. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 16. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 17. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 18. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 19. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cd24 20. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 21. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001bab28a0 22. /build/src/Interpreters/TreeRewriter.cpp:1601: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001baa2e6d 23. /build/src/Interpreters/TreeRewriter.cpp:1474: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa6acc 24. /build/src/Storages/ColumnsDescription.cpp:947: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001c26ccee 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:607: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00cc7a 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:44:43.774709 [ 24805 ] {5846f933-dacf-4a29-937a-c5f3f454ede4} executeQuery: Code: 174. DB::Exception: Cyclic aliases: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 24.3.12.76.altinitystable) (from [::1]:52254) (comment: 01093_cyclic_defaults_filimonov.sql) (in query: CREATE TABLE pythagoras ( `a` Float64 DEFAULT sqrt((c * c) - (b * b)), `b` Float64 DEFAULT sqrt((c * c) - (a * a)), `c` Float64 DEFAULT sqrt((a * a) + (b * b)) ) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/QueryNormalizer.cpp:109: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1b5bd 7. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1be7e 8. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 9. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 12. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 14. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 15. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 16. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 17. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 18. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 19. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 20. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 21. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 22. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 23. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 24. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 25. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 26. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 27. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cd24 28. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 29. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001bab28a0 30. /build/src/Interpreters/TreeRewriter.cpp:1601: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001baa2e6d 31. /build/src/Interpreters/TreeRewriter.cpp:1474: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa6acc 2025.03.05 21:44:43.776117 [ 24805 ] {5846f933-dacf-4a29-937a-c5f3f454ede4} TCPHandler: Code: 174. DB::Exception: Cyclic aliases: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/QueryNormalizer.cpp:109: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1b5bd 7. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1be7e 8. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 9. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 12. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 14. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 15. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 16. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 17. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 18. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 19. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 20. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 21. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 22. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 23. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 24. /build/src/Interpreters/QueryNormalizer.cpp:302: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1a8 25. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cb15 26. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 27. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001bb1cd24 28. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001bb1c1c7 29. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001bab28a0 30. /build/src/Interpreters/TreeRewriter.cpp:1601: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001baa2e6d 31. /build/src/Interpreters/TreeRewriter.cpp:1474: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa6acc 2025.03.05 21:44:45.434416 [ 1478 ] {bc8d79a3-6766-49f5-b5fb-d6bfd911a8ac} executeQuery: Code: 57. DB::Exception: Table test_dp7unhlq.null_status already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: /* ddl_entry=query-0000000022 */ CREATE TABLE test_dp7unhlq.null_status UUID '632bc3d2-2b1f-4b90-adb7-777579374100' (`n` Int32) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:45.435380 [ 1478 ] {bc8d79a3-6766-49f5-b5fb-d6bfd911a8ac} DDLWorker: Query /* ddl_entry=query-0000000022 */ CREATE TABLE test_dp7unhlq.null_status UUID '632bc3d2-2b1f-4b90-adb7-777579374100' (`n` Int32) ENGINE = Memory wasn't finished successfully: Code: 57. DB::Exception: Table test_dp7unhlq.null_status already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:44:45.534205 [ 24805 ] {9b55004a-df36-4fa8-821f-cd4187aac03d} executeQuery: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.null_status already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:52264) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: create table null_status on cluster test_shard_localhost (n int) engine=Memory format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:45.535487 [ 24805 ] {9b55004a-df36-4fa8-821f-cd4187aac03d} TCPHandler: Code: 57. DB::Exception: There was an error on [localhost:9000]: Code: 57. DB::Exception: Table test_dp7unhlq.null_status already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001bb9e508 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:574: DB::DDLQueryStatusSource::generate() @ 0x000000001bb98de3 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:411: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001d513cd5 14. /build/src/Processors/Executors/PipelineExecutor.cpp:111: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d5130b6 15. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 20. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 28. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 2025.03.05 21:44:54.633375 [ 23502 ] {6337bd91-db87-48e8-9622-9fd93b106bc5} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `value` to add. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:38180) (comment: 01079_alter_default_zookeeper_long.sql) (in query: -- Cannot add column without type ALTER TABLE alter_default ADD COLUMN value DEFAULT '10';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1287: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24eba2 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:54.634388 [ 23502 ] {6337bd91-db87-48e8-9622-9fd93b106bc5} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `value` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1287: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24eba2 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:44:56.172366 [ 23502 ] {1e466d68-7fd7-4535-a9d8-50a753fd7a30} executeQuery: Code: 6. DB::Exception: Cannot parse string 'q' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('q' AS bad_column_tmp_alter8467015367823667928, 'UInt8') AS bad_column: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 24.3.12.76.altinitystable) (from [::1]:38180) (comment: 01079_alter_default_zookeeper_long.sql) (in query: ALTER TABLE alter_default ADD COLUMN bad_column UInt8 DEFAULT 'q';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:44:56.173688 [ 23502 ] {1e466d68-7fd7-4535-a9d8-50a753fd7a30} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'q' as UInt8: syntax error at begin of string. Note: there are toUInt8OrZero and toUInt8OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('q' AS bad_column_tmp_alter8467015367823667928, 'UInt8') AS bad_column: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Functions/FunctionsConversion.cpp:797: DB::(anonymous namespace)::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000aa93bf1 7. /build/src/Functions/FunctionsConversion.cpp:1027: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing, DB::(anonymous namespace)::NameToUInt8, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)0, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000aabd137 8. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabcc0f 9. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6ebb 10. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6298 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 13. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 18. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 25. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 26. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 27. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 28. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 29. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 30. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 31. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 2025.03.05 21:44:56.361210 [ 23502 ] {835fada0-9fd4-4f1b-9a07-e5ab667833a9} executeQuery: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: While processing _CAST('0' AS other_date_tmp_alter217004512594760474, 'DateTime') AS other_date: default expression and column type are incompatible. (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:38180) (comment: 01079_alter_default_zookeeper_long.sql) (in query: ALTER TABLE alter_default MODIFY COLUMN other_date DateTime;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:44:56.362143 [ 23502 ] {835fada0-9fd4-4f1b-9a07-e5ab667833a9} TCPHandler: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: While processing _CAST('0' AS other_date_tmp_alter217004512594760474, 'DateTime') AS other_date: default expression and column type are incompatible. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:45:02.434989 [ 1478 ] {37e8540e-3a08-452b-8547-2de7860f1765} executeQuery: Code: 57. DB::Exception: Table test_dp7unhlq.never_throw already exists. (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from 0.0.0.0:0) (comment: 01175_distributed_ddl_output_mode_long.sh_01175_DDL_test_dp7unhlq) (in query: /* ddl_entry=query-0000000025 */ CREATE TABLE test_dp7unhlq.never_throw UUID 'e2e89685-bf51-4938-bcae-2fc21c68efbc' (`n` Int32) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:02.436162 [ 1478 ] {37e8540e-3a08-452b-8547-2de7860f1765} DDLWorker: Query /* ddl_entry=query-0000000025 */ CREATE TABLE test_dp7unhlq.never_throw UUID 'e2e89685-bf51-4938-bcae-2fc21c68efbc' (`n` Int32) ENGINE = Memory wasn't finished successfully: Code: 57. DB::Exception: Table test_dp7unhlq.never_throw already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1395: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01ac84 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 11. /build/src/Interpreters/DDLWorker.cpp:497: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a651889 12. /build/src/Interpreters/DDLWorker.cpp:661: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001a650584 13. /build/src/Interpreters/DDLWorker.cpp:439: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001a64e082 14. /build/src/Interpreters/DDLWorker.cpp:1147: DB::DDLWorker::runMainThread() @ 0x000000001a644093 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001a664bc9 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001a664b4d 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001a664a9d 18. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001a6649b5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a664915 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001a6648f5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a6648d5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a6648a0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:19.272435 [ 23502 ] {06e76eed-9a34-49e7-93cd-714ed24345f2} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: In scope SELECT h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:59238) (comment: 01070_h3_to_children.sql) (in query: SELECT h3ToChildren(599405990164561919, 16);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e54f9e6 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:45:19.273435 [ 23502 ] {06e76eed-9a34-49e7-93cd-714ed24345f2} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: In scope SELECT h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e54f9e6 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:45:23.408470 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_13684} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 16479546566188239697'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:53372) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:23.409782 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_13684} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 16479546566188239697'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:23.489946 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_24801} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:53388) (in query: select 9, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:23.491560 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_24801} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:23.540028 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_11636} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:53402) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:23.541225 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx8_11636} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:30.899991 [ 24254 ] {f2d8d57b-a998-487f-8a69-724b6b3d30a9} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:56426) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001bb91ef6 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb91165 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 16. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 17. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 18. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 19. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:30.901521 [ 24254 ] {f2d8d57b-a998-487f-8a69-724b6b3d30a9} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001bb91ef6 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb91165 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 16. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 17. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 18. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 19. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:30.929783 [ 24254 ] {3def3b1a-cfad-4d4d-b728-9db406b3dc5f} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:56440) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001bb91ef6 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb91165 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 16. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 17. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 18. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 19. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:30.931527 [ 24254 ] {3def3b1a-cfad-4d4d-b728-9db406b3dc5f} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001bb91ef6 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb91165 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 16. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 17. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 18. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 19. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:38.131036 [ 730 ] {515b86ef-b913-4bd8-95f0-709c225967bf} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(nan). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:43384) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:38.134032 [ 730 ] {515b86ef-b913-4bd8-95f0-709c225967bf} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(nan). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:38.987134 [ 1534 ] {0ebdd298-9423-4fed-9ab1-3aa8bd96b9a4} ExternalDictionariesLoader: Could not load external dictionary '48feea3a-aba5-4e62-883c-eb70e050c557', next update is scheduled at 2025-03-05 21:45:43: Code: 482. DB::Exception: Dictionaries with executable dictionary source are not allowed to be created from DDL query. (DICTIONARY_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/ExecutableDictionarySource.cpp:233: DB::registerDictionarySourceExecutable(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000160ca179 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160c9fb7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000160c9ef7 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160c9e77 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160c9e03 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019058fc0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190565b6 13. /build/src/Dictionaries/DictionarySourceFactory.cpp:102: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x00000000190556df 14. /build/src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051206 15. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 16. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 17. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 18. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 22. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 30. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:38.989642 [ 730 ] {0ebdd298-9423-4fed-9ab1-3aa8bd96b9a4} executeQuery: Code: 482. DB::Exception: Dictionaries with executable dictionary source are not allowed to be created from DDL query: In scope SELECT dictGetString(concat('test_5iuewzqk', '.restricted_dict'), 'value', toUInt64(1)). (DICTIONARY_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:43388) (comment: 01045_dictionaries_restrictions.sql) (in query: SELECT dictGetString(concat('test_5iuewzqk', '.restricted_dict'), 'value', toUInt64(1))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/ExecutableDictionarySource.cpp:233: DB::registerDictionarySourceExecutable(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000160ca179 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160c9fb7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000160c9ef7 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160c9e77 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160c9e03 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019058fc0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190565b6 13. /build/src/Dictionaries/DictionarySourceFactory.cpp:102: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x00000000190556df 14. /build/src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051206 15. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 16. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 17. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 18. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 22. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 30. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 2025.03.05 21:45:38.990972 [ 730 ] {0ebdd298-9423-4fed-9ab1-3aa8bd96b9a4} TCPHandler: Code: 482. DB::Exception: Dictionaries with executable dictionary source are not allowed to be created from DDL query: In scope SELECT dictGetString(concat('test_5iuewzqk', '.restricted_dict'), 'value', toUInt64(1)). (DICTIONARY_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Dictionaries/ExecutableDictionarySource.cpp:233: DB::registerDictionarySourceExecutable(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000160ca179 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160c9fb7 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000160c9ef7 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160c9e77 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160c9e03 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019058fc0 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190565b6 13. /build/src/Dictionaries/DictionarySourceFactory.cpp:102: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x00000000190556df 14. /build/src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051206 15. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 16. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 17. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 18. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 22. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 29. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 30. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 2025.03.05 21:45:41.817543 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_5602} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 3433184037119296407'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:37842) (in query: alter table test update value = 12 where id = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:41.819330 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_5602} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 3433184037119296407'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:41.927712 [ 730 ] {995ae03e-98d4-4ecf-bd70-6d0f9449ffca} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(inf). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:43446) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:41.930188 [ 730 ] {995ae03e-98d4-4ecf-bd70-6d0f9449ffca} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(inf). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:41.937803 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_16795} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:37864) (in query: alter table test update value = 18 where id = 2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:41.939334 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_16795} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:42.022059 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_13726} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:37870) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:42.023230 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx10_13726} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:45:45.477433 [ 15113 ] {27901102-e8e1-4890-ba19-7ce27d93ad20} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: In scope SELECT h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:43478) (comment: 01042_h3_k_ring.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e5589d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:45.478304 [ 15113 ] {27901102-e8e1-4890-ba19-7ce27d93ad20} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: In scope SELECT h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e5589d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:45.650731 [ 15113 ] {ff8d72af-63cf-41ae-90c0-6dff2b6488a2} executeQuery: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: In scope SELECT h3kRing(581276613233082367, toUInt16(-1)). (PARAMETER_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:43478) (comment: 01042_h3_k_ring.sql) (in query: SELECT h3kRing(581276613233082367, toUInt16(-1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000e53e52c 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5581ed 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:45:45.651589 [ 15113 ] {ff8d72af-63cf-41ae-90c0-6dff2b6488a2} TCPHandler: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: In scope SELECT h3kRing(581276613233082367, toUInt16(-1)). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000e53e52c 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5581ed 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:45:45.730327 [ 15113 ] {0c40c42e-55a0-469f-ad2f-de679b21c072} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: In scope SELECT h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:43478) (comment: 01042_h3_k_ring.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e5589d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:45.731172 [ 15113 ] {0c40c42e-55a0-469f-ad2f-de679b21c072} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: In scope SELECT h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e5589d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:45.837604 [ 10876 ] {56a016ba-809a-40e2-a82e-7fce9466bb85} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-inf). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:43500) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(-inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:45.839832 [ 10876 ] {56a016ba-809a-40e2-a82e-7fce9466bb85} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-inf). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:49.541674 [ 730 ] {7935e733-3579-4cc8-be05-f1ea9dc70477} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(1e300). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:54586) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(1e300);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:49.545879 [ 730 ] {7935e733-3579-4cc8-be05-f1ea9dc70477} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(1e300). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:49.993039 [ 730 ] {977c3beb-6823-46c1-9672-e0f1c2d4a0d6} ReadWriteBufferFromHTTP: Failed to make request to '' redirect to '/'. Error: 'DB::Exception: Unsupported scheme in URI '/''. Failed at try 1/10. 2025.03.05 21:45:50.136454 [ 730 ] {977c3beb-6823-46c1-9672-e0f1c2d4a0d6} executeQuery: Code: 422. DB::Exception: Unsupported scheme in URI '/': The data format cannot be detected by the contents of the files. You can specify the format manually. (UNSUPPORTED_URI_SCHEME) (version 24.3.12.76.altinitystable) (from [::1]:54594) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('') ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Common/HTTPConnectionPool.cpp:848: DB::HTTPConnectionPools::Impl::useSecureConnection(Poco::URI const&, DB::ProxyConfiguration const&) @ 0x0000000013614dbe 7. /build/src/Common/HTTPConnectionPool.cpp:866: DB::HTTPConnectionPools::Impl::getHostPortSecure(Poco::URI const&, DB::ProxyConfiguration const&) @ 0x0000000013614986 8. /build/src/Common/HTTPConnectionPool.cpp:815: DB::HTTPConnectionPools::Impl::getPoolImpl(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360ca5d 9. /build/src/Common/HTTPConnectionPool.cpp:782: DB::HTTPConnectionPools::Impl::getPool(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360ba29 10. /build/src/Common/HTTPConnectionPool.cpp:894: DB::HTTPConnectionPools::getPool(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360b2f3 11. /build/src/IO/HTTPCommon.cpp:52: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration) @ 0x0000000013703f33 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:246: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x00000000160ad96d 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:264: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x00000000160adc12 14. /build/src/IO/ReadWriteBufferFromHTTP.cpp:385: DB::ReadWriteBufferFromHTTP::initialize() @ 0x00000000160ae431 15. /build/src/IO/ReadWriteBufferFromHTTP.cpp:448: DB::ReadWriteBufferFromHTTP::nextImpl()::$_0::operator()() const @ 0x00000000160b147b 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160b1435 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000160b1415 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160b13f5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160b13bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/IO/ReadWriteBufferFromHTTP.cpp:302: DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x00000000160aa687 23. /build/src/IO/ReadWriteBufferFromHTTP.cpp:441: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000160aface 24. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 25. /build/src/IO/ReadWriteBufferFromHTTP.cpp:233: DB::ReadWriteBufferFromHTTP::ReadWriteBufferFromHTTP(DB::HTTPConnectionGroupType const&, Poco::URI const&, String const&, DB::ProxyConfiguration, DB::ReadSettings, DB::ConnectionTimeouts, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*, unsigned long, unsigned long, std::function>&)>, bool, bool, std::vector>, bool, std::optional) @ 0x00000000160ad63e 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&>(DB::HTTPConnectionGroupType&, Poco::URI&, String&, DB::ProxyConfiguration&, DB::ReadSettings&, DB::ConnectionTimeouts&, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*&, unsigned long&, unsigned long&, std::function>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&) @ 0x00000000160a2792 27. /build/src/IO/ReadWriteBufferFromHTTP.h:242: DB::BuilderRWBufferFromHTTP::create(Poco::Net::HTTPBasicCredentials const&) @ 0x00000000160a1fba 28. /build/src/Storages/StorageURL.cpp:477: DB::StorageURLSource::getFirstAvailableURIAndReadBuffer(std::__wrap_iter&, std::__wrap_iter const&, std::shared_ptr, std::vector, std::allocator>> const&, String const&, std::function>&)>, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials&, std::vector> const&, bool, bool) @ 0x000000001c701795 29. /build/src/Storages/StorageURL.cpp:783: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001c7096ef 30. /build/src/Formats/ReadSchemaUtils.cpp:144: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cdf97 31. /build/src/Formats/ReadSchemaUtils.cpp:549: DB::detectFormatAndReadSchema(std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d23e9 2025.03.05 21:45:50.137850 [ 730 ] {977c3beb-6823-46c1-9672-e0f1c2d4a0d6} TCPHandler: Code: 422. DB::Exception: Unsupported scheme in URI '/': The data format cannot be detected by the contents of the files. You can specify the format manually. (UNSUPPORTED_URI_SCHEME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Common/HTTPConnectionPool.cpp:848: DB::HTTPConnectionPools::Impl::useSecureConnection(Poco::URI const&, DB::ProxyConfiguration const&) @ 0x0000000013614dbe 7. /build/src/Common/HTTPConnectionPool.cpp:866: DB::HTTPConnectionPools::Impl::getHostPortSecure(Poco::URI const&, DB::ProxyConfiguration const&) @ 0x0000000013614986 8. /build/src/Common/HTTPConnectionPool.cpp:815: DB::HTTPConnectionPools::Impl::getPoolImpl(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360ca5d 9. /build/src/Common/HTTPConnectionPool.cpp:782: DB::HTTPConnectionPools::Impl::getPool(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360ba29 10. /build/src/Common/HTTPConnectionPool.cpp:894: DB::HTTPConnectionPools::getPool(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ProxyConfiguration const&) @ 0x000000001360b2f3 11. /build/src/IO/HTTPCommon.cpp:52: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration) @ 0x0000000013703f33 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:246: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional const&, bool) const @ 0x00000000160ad96d 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:264: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional const&) @ 0x00000000160adc12 14. /build/src/IO/ReadWriteBufferFromHTTP.cpp:385: DB::ReadWriteBufferFromHTTP::initialize() @ 0x00000000160ae431 15. /build/src/IO/ReadWriteBufferFromHTTP.cpp:448: DB::ReadWriteBufferFromHTTP::nextImpl()::$_0::operator()() const @ 0x00000000160b147b 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000160b1435 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000160b1415 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000160b13f5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000160b13bd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/IO/ReadWriteBufferFromHTTP.cpp:302: DB::ReadWriteBufferFromHTTP::doWithRetries(std::function&&, std::function, bool) const @ 0x00000000160aa687 23. /build/src/IO/ReadWriteBufferFromHTTP.cpp:441: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000160aface 24. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 25. /build/src/IO/ReadWriteBufferFromHTTP.cpp:233: DB::ReadWriteBufferFromHTTP::ReadWriteBufferFromHTTP(DB::HTTPConnectionGroupType const&, Poco::URI const&, String const&, DB::ProxyConfiguration, DB::ReadSettings, DB::ConnectionTimeouts, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*, unsigned long, unsigned long, std::function>&)>, bool, bool, std::vector>, bool, std::optional) @ 0x00000000160ad63e 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&>(DB::HTTPConnectionGroupType&, Poco::URI&, String&, DB::ProxyConfiguration&, DB::ReadSettings&, DB::ConnectionTimeouts&, Poco::Net::HTTPBasicCredentials const&, DB::RemoteHostFilter const*&, unsigned long&, unsigned long&, std::function>&)>&, bool&, bool&, std::vector>&, bool&, std::nullopt_t const&) @ 0x00000000160a2792 27. /build/src/IO/ReadWriteBufferFromHTTP.h:242: DB::BuilderRWBufferFromHTTP::create(Poco::Net::HTTPBasicCredentials const&) @ 0x00000000160a1fba 28. /build/src/Storages/StorageURL.cpp:477: DB::StorageURLSource::getFirstAvailableURIAndReadBuffer(std::__wrap_iter&, std::__wrap_iter const&, std::shared_ptr, std::vector, std::allocator>> const&, String const&, std::function>&)>, DB::ConnectionTimeouts const&, Poco::Net::HTTPBasicCredentials&, std::vector> const&, bool, bool) @ 0x000000001c701795 29. /build/src/Storages/StorageURL.cpp:783: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001c7096ef 30. /build/src/Formats/ReadSchemaUtils.cpp:144: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4cdf97 31. /build/src/Formats/ReadSchemaUtils.cpp:549: DB::detectFormatAndReadSchema(std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d23e9 2025.03.05 21:45:50.322139 [ 730 ] {0f63137d-7589-4894-ab28-d632104cdba2} executeQuery: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:54594) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('','','','') ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageURL.cpp:1523: DB::StorageURL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001c70849c 7. /build/src/Storages/StorageURL.cpp:1552: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f7d8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 14. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 18. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:50.323205 [ 730 ] {0f63137d-7589-4894-ab28-d632104cdba2} TCPHandler: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageURL.cpp:1523: DB::StorageURL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001c70849c 7. /build/src/Storages/StorageURL.cpp:1552: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f7d8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 14. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 18. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:45:53.358139 [ 23502 ] {85d28e67-ab21-47fe-b1ac-aa3af8b53f5f} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-123.456). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:54644) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(-123.456);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:53.360352 [ 23502 ] {85d28e67-ab21-47fe-b1ac-aa3af8b53f5f} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-123.456). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:56.915726 [ 23502 ] {71ff302f-e93e-4324-8fee-f2f1ce9aa3ce} executeQuery: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-1). (TOO_LARGE_STRING_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:54688) (comment: 01054_random_printable_ascii_ubsan.sh) (in query: SELECT randomPrintableASCII(-1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:56.915853 [ 24254 ] {28707dac-1a48-4d2f-8ed5-c6df6da951fc} executeQuery: Code: 36. DB::Exception: No such attribute 'prefixprefixprefixprefix': In scope SELECT '127.0.0.0/24' = dictGetString(concat('test_prdax8kx', '.dict_ipv4_trie'), 'prefixprefixprefixprefix', tuple(IPv4StringToNumOrDefault('127.0.0.0127.0.0.0'))). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54664) (comment: 01018_ip_dictionary_long.sql) (in query: SELECT '127.0.0.0/24' = dictGetString(concat('test_prdax8kx', '.dict_ipv4_trie'), 'prefixprefixprefixprefix', tuple(IPv4StringToNumOrDefault('127.0.0.0127.0.0.0')))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryStructure.cpp:184: DB::DictionaryStructure::getAttribute(String const&) const @ 0x000000001905d30b 7. /build/src/Functions/FunctionsExternalDictionaries.h:385: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c67f 8. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b035608 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:45:56.916792 [ 24254 ] {28707dac-1a48-4d2f-8ed5-c6df6da951fc} TCPHandler: Code: 36. DB::Exception: No such attribute 'prefixprefixprefixprefix': In scope SELECT '127.0.0.0/24' = dictGetString(concat('test_prdax8kx', '.dict_ipv4_trie'), 'prefixprefixprefixprefix', tuple(IPv4StringToNumOrDefault('127.0.0.0127.0.0.0'))). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Dictionaries/DictionaryStructure.cpp:184: DB::DictionaryStructure::getAttribute(String const&) const @ 0x000000001905d30b 7. /build/src/Functions/FunctionsExternalDictionaries.h:385: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c67f 8. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b035608 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:45:56.917715 [ 23502 ] {71ff302f-e93e-4324-8fee-f2f1ce9aa3ce} TCPHandler: Code: 131. DB::Exception: Too large string size in function randomPrintableASCII: In scope SELECT randomPrintableASCII(-1). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/randomPrintableASCII.cpp:77: DB::(anonymous namespace)::FunctionRandomPrintableASCII::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119cc08c 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:45:58.553722 [ 23618 ] {30c80723-ab02-4760-8e4a-3dc0b0981027} executeQuery: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:45:58.554634 [ 23618 ] {30c80723-ab02-4760-8e4a-3dc0b0981027} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:45:58.705341 [ 23618 ] {c31744c5-83c5-4f6e-92e1-b1e598ec1a59} executeQuery: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:45:58.706165 [ 23618 ] {c31744c5-83c5-4f6e-92e1-b1e598ec1a59} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:45:59.241779 [ 23618 ] {1c719392-ec5f-4297-bd93-b2afc99c0446} executeQuery: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', (toUInt64(11), '121'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:45:59.243076 [ 23618 ] {1c719392-ec5f-4297-bd93-b2afc99c0446} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_c95tuwgm.dict1`) not found: In scope SELECT dictGetUInt8(concat('test_c95tuwgm', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b024ae8 11. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 13. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 14. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 15. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:46:00.144574 [ 23618 ] {b8ad70d5-a131-410c-9608-ad362793d7b5} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetString(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Interpreters/ExternalDictionariesLoader.cpp:124: DB::ExternalDictionariesLoader::assertDictionaryStructureExists(String const&, std::shared_ptr) const @ 0x000000001ac65fa9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5439: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b581d 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:00.145433 [ 23618 ] {b8ad70d5-a131-410c-9608-ad362793d7b5} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Interpreters/ExternalDictionariesLoader.cpp:124: DB::ExternalDictionariesLoader::assertDictionaryStructureExists(String const&, std::shared_ptr) const @ 0x000000001ac65fa9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5439: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b581d 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:00.225232 [ 23618 ] {c13b1be6-9a41-47a2-a132-7d66cbfa6b7d} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGet(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Interpreters/ExternalDictionariesLoader.cpp:124: DB::ExternalDictionariesLoader::assertDictionaryStructureExists(String const&, std::shared_ptr) const @ 0x000000001ac65fa9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5439: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b581d 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:00.226019 [ 23618 ] {c13b1be6-9a41-47a2-a132-7d66cbfa6b7d} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Interpreters/ExternalDictionariesLoader.cpp:124: DB::ExternalDictionariesLoader::assertDictionaryStructureExists(String const&, std::shared_ptr) const @ 0x000000001ac65fa9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5439: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b581d 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:00.586649 [ 23331 ] {854d2b06-d6ea-4d00-9a2f-7e6966d5d19d} ExternalDictionariesLoader: Could not update external dictionary 'e19c3513-2ce2-4358-af2a-29f8a6f7f7af', leaving the previous version: Code: 60. DB::Exception: Unknown table expression identifier 'test_c95tuwgm.table_for_dict' in scope SELECT key_column, toString(fourth_column) AS some_column, fourth_column FROM test_c95tuwgm.table_for_dict. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000016064c01 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000016064aca 26. /build/src/Dictionaries/HashedDictionary.h:1171: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000016857c28 27. /build/src/Dictionaries/HashedDictionary.h:313: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x00000000168576d3 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x00000000164fff86 29. /build/src/Dictionaries/registerHashedDictionary.cpp:100: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x00000000164fe671 30. /build/src/Dictionaries/registerHashedDictionary.cpp:123: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x00000000164fcd56 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000164fcc5b (version 24.3.12.76.altinitystable) 2025.03.05 21:46:00.587954 [ 7113 ] {854d2b06-d6ea-4d00-9a2f-7e6966d5d19d} ExternalDictionariesLoader: Could not update external dictionary '0cca94ac-001a-46e0-8308-fd7da4539135', leaving the previous version, next update is scheduled at 2025-03-05 21:46:05: Code: 60. DB::Exception: Unknown table expression identifier 'test_c95tuwgm.table_for_dict' in scope SELECT key_column, toString(fourth_column) AS some_column, fourth_column FROM test_c95tuwgm.table_for_dict. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000016064c01 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000016064aca 26. /build/src/Dictionaries/HashedDictionary.h:1171: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000016857c28 27. /build/src/Dictionaries/HashedDictionary.h:313: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x00000000168576d3 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x00000000164fff86 29. /build/src/Dictionaries/registerHashedDictionary.cpp:100: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x00000000164fe671 30. /build/src/Dictionaries/registerHashedDictionary.cpp:123: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x00000000164fcd56 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000164fcc5b (version 24.3.12.76.altinitystable) 2025.03.05 21:46:00.589539 [ 23618 ] {854d2b06-d6ea-4d00-9a2f-7e6966d5d19d} ExternalDictionariesLoader: Code: 60. DB::Exception: Unknown table expression identifier 'test_c95tuwgm.table_for_dict' in scope SELECT key_column, toString(fourth_column) AS some_column, fourth_column FROM test_c95tuwgm.table_for_dict. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000016064c01 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000016064aca 26. /build/src/Dictionaries/HashedDictionary.h:1171: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000016857c28 27. /build/src/Dictionaries/HashedDictionary.h:313: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x00000000168576d3 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x00000000164fff86 29. /build/src/Dictionaries/registerHashedDictionary.cpp:100: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x00000000164fe671 30. /build/src/Dictionaries/registerHashedDictionary.cpp:123: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x00000000164fcd56 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000164fcc5b (version 24.3.12.76.altinitystable) 2025.03.05 21:46:00.701185 [ 23618 ] {854d2b06-d6ea-4d00-9a2f-7e6966d5d19d} executeQuery: Code: 60. DB::Exception: Code: 60. DB::Exception: Unknown table expression identifier 'test_c95tuwgm.table_for_dict' in scope SELECT key_column, toString(fourth_column) AS some_column, fourth_column FROM test_c95tuwgm.table_for_dict. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable). (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:54702) (comment: 01018_ddl_dictionaries_select.sql) (in query: SYSTEM RELOAD DICTIONARIES;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:151: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001bbf41cb 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:535: DB::InterpreterSystemQuery::execute() @ 0x000000001bbef37a 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:00.701976 [ 23618 ] {854d2b06-d6ea-4d00-9a2f-7e6966d5d19d} TCPHandler: Code: 60. DB::Exception: Code: 60. DB::Exception: Unknown table expression identifier 'test_c95tuwgm.table_for_dict' in scope SELECT key_column, toString(fourth_column) AS some_column, fourth_column FROM test_c95tuwgm.table_for_dict. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:151: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001bbf41cb 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:535: DB::InterpreterSystemQuery::execute() @ 0x000000001bbef37a 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:04.776653 [ 23618 ] {a6e1728d-454b-4e05-b43b-b59b93abdab6} executeQuery: Code: 47. DB::Exception: JOIN (SELECT _CAST([1], 'Array(UInt8)') AS `[1]`, count(1) AS `count(1)` FROM system.one) AS t1 ALL RIGHT JOIN (SELECT number AS s FROM numbers(2)) AS t2 USING (s) using identifier 's' cannot be resolved from left table expression. In scope SELECT count() FROM (SELECT [1], count(1)) AS t1 ALL RIGHT JOIN (SELECT number AS s FROM numbers(2)) AS t2 USING (s). (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:58806) (comment: 01010_pm_join_all_join_bug.sql) (in query: SELECT count() FROM ( SELECT [1], count(1) ) AS t1 ALL RIGHT JOIN ( SELECT number AS s FROM numbers(2) ) AS t2 USING (s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:46:04.777846 [ 23618 ] {a6e1728d-454b-4e05-b43b-b59b93abdab6} TCPHandler: Code: 47. DB::Exception: JOIN (SELECT _CAST([1], 'Array(UInt8)') AS `[1]`, count(1) AS `count(1)` FROM system.one) AS t1 ALL RIGHT JOIN (SELECT number AS s FROM numbers(2)) AS t2 USING (s) using identifier 's' cannot be resolved from left table expression. In scope SELECT count() FROM (SELECT [1], count(1)) AS t1 ALL RIGHT JOIN (SELECT number AS s FROM numbers(2)) AS t2 USING (s). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&, String&&) @ 0x000000001b118024 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7847: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0d2983 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7930: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9afd 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 11. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 22. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 23. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 24. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 25. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 26. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 2025.03.05 21:46:14.329892 [ 10876 ] {5e6106cc-b6c4-4028-949f-fb5aea375e76} executeQuery: Code: 475. DB::Exception: WITH FILL STEP value cannot be negative for sorting in ascending direction. (INVALID_WITH_FILL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:37296) (comment: 00995_order_by_with_fill.sql) (in query: SELECT * FROM fill ORDER BY a WITH FILL STEP -1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:90: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e0659 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.330850 [ 10876 ] {5e6106cc-b6c4-4028-949f-fb5aea375e76} TCPHandler: Code: 475. DB::Exception: WITH FILL STEP value cannot be negative for sorting in ascending direction. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:90: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e0659 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.468051 [ 10876 ] {0f9e8f84-386b-42d4-8cff-4563710f7a40} executeQuery: Code: 475. DB::Exception: WITH FILL TO value cannot be less than FROM value for sorting in ascending direction. (INVALID_WITH_FILL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:37296) (comment: 00995_order_by_with_fill.sql) (in query: SELECT * FROM fill ORDER BY a WITH FILL FROM 10 TO 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:96: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e07d6 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.468890 [ 10876 ] {0f9e8f84-386b-42d4-8cff-4563710f7a40} TCPHandler: Code: 475. DB::Exception: WITH FILL TO value cannot be less than FROM value for sorting in ascending direction. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:96: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e07d6 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.611119 [ 10876 ] {71886d87-0758-4979-aa35-749d37ae4202} executeQuery: Code: 475. DB::Exception: WITH FILL FROM value cannot be less than TO value for sorting in descending direction. (INVALID_WITH_FILL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:37296) (comment: 00995_order_by_with_fill.sql) (in query: SELECT * FROM fill ORDER BY a DESC WITH FILL FROM 1 TO 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:109: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e0a76 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.612125 [ 10876 ] {71886d87-0758-4979-aa35-749d37ae4202} TCPHandler: Code: 475. DB::Exception: WITH FILL FROM value cannot be less than TO value for sorting in descending direction. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Planner/PlannerSorting.cpp:109: DB::(anonymous namespace)::extractWithFillDescription(DB::SortNode const&) @ 0x000000001b5e0a76 7. /build/src/Planner/PlannerSorting.cpp:141: DB::extractSortDescription(std::shared_ptr const&, DB::PlannerContext const&) @ 0x000000001b5dff7d 8. /build/src/Planner/Planner.cpp:287: DB::(anonymous namespace)::QueryAnalysisResult::QueryAnalysisResult(std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&, std::shared_ptr const&) @ 0x000000001b511598 9. /build/src/Planner/Planner.cpp:1496: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50ef4a 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:14.832054 [ 10876 ] {b49f7c0f-3453-413f-a9a8-f0a4ed90ae88} executeQuery: Code: 475. DB::Exception: WITH FILL bound values cannot be negative for unsigned type UInt32. (INVALID_WITH_FILL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:37296) (comment: 00995_order_by_with_fill.sql) (in query: SELECT * FROM fill ORDER BY a WITH FILL FROM -10 to 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/FillingTransform.cpp:234: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001dce8830 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce77d8 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce7541 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce722d 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce707a 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce6466 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001dce61d1 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001dce6127 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001dce60e5 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001dce60a5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001dce604c 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019e50728 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019e506a4 19. /build/src/QueryPipeline/Pipe.cpp:593: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x0000000019e3ec2e 20. /build/src/QueryPipeline/Pipe.cpp:633: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000019e3eb15 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:136: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000019e7304e 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dce5ae2 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07fa6 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:46:14.833133 [ 10876 ] {b49f7c0f-3453-413f-a9a8-f0a4ed90ae88} TCPHandler: Code: 475. DB::Exception: WITH FILL bound values cannot be negative for unsigned type UInt32. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/FillingTransform.cpp:234: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001dce8830 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce77d8 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce7541 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce722d 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce707a 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001dce6466 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001dce61d1 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001dce6127 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001dce60e5 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001dce60a5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001dce604c 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019e50728 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019e506a4 19. /build/src/QueryPipeline/Pipe.cpp:593: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x0000000019e3ec2e 20. /build/src/QueryPipeline/Pipe.cpp:633: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000019e3eb15 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:136: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x0000000019e7304e 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dce5ae2 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07fa6 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:46:15.225322 [ 23618 ] {0cdd5a86-5c4c-41e3-83bb-742395f9a7dc} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(__table1.s :: 2, 'abc,def,zzz'_String :: 1) -> hasToken(__table1.s, 'abc,def,zzz'_String) UInt8 : 3': While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37312) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:59: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56ba59 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 15. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1456: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9028c 16. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 17. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:964: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8cd4b 18. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 19. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 20. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 21. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 22. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:46:15.229648 [ 23618 ] {0cdd5a86-5c4c-41e3-83bb-742395f9a7dc} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(__table1.s :: 2, 'abc,def,zzz'_String :: 1) -> hasToken(__table1.s, 'abc,def,zzz'_String) UInt8 : 3': While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:59: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e56ba59 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e56aa36 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 15. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1456: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9028c 16. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 17. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:964: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8cd4b 18. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 19. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 20. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 21. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 22. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:46:15.472612 [ 23618 ] {5e409206-e390-42a3-be0a-e2afc0df1b30} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(__table1.s :: 2, 'abc,def,zzz'_String :: 1) -> hasTokenCaseInsensitive(__table1.s, 'abc,def,zzz'_String) UInt8 : 3': While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37312) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasTokenCaseInsensitive(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:59: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5717f9 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 15. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1456: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9028c 16. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 17. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:964: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8cd4b 18. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 19. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 20. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 21. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 22. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:46:15.476888 [ 23618 ] {5e409206-e390-42a3-be0a-e2afc0df1b30} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(__table1.s :: 2, 'abc,def,zzz'_String :: 1) -> hasTokenCaseInsensitive(__table1.s, 'abc,def,zzz'_String) UInt8 : 3': While executing MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/HasTokenImpl.h:59: DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000e5717f9 7. /build/src/Functions/FunctionsStringSearch.h:240: DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e5707d6 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 13. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 14. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 15. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1456: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001ce9028c 16. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1065: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8e2ee 17. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:964: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001ce8cd4b 18. /build/src/Storages/MergeTree/MergeTreeReadTask.cpp:164: DB::MergeTreeReadTask::read(DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ce97e89 19. /build/src/Storages/MergeTree/MergeTreeSelectAlgorithms.h:53: DB::MergeTreeInOrderSelectAlgorithm::readFromTask(DB::MergeTreeReadTask&, DB::MergeTreeReadTask::BlockSizeParams const&) @ 0x000000001ddec20c 20. /build/src/Storages/MergeTree/MergeTreeSelectProcessor.cpp:139: DB::MergeTreeSelectProcessor::read() @ 0x000000001ce7e9c3 21. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ddd7596 22. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 25. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 26. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 27. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 2025.03.05 21:46:17.051514 [ 23618 ] {4c1a26ab-6103-46ab-8254-228a9a2929f8} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:37312) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- invert result -- this does not work as expected, reading more rows that it should -- SELECT max(id) FROM bloom_filter WHERE NOT hasToken(s, 'yyy'); -- accessing to many rows SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'yyy');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.053057 [ 23618 ] {4c1a26ab-6103-46ab-8254-228a9a2929f8} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.125427 [ 23618 ] {aa2c7039-ef3a-4b1a-8ed5-d57465982fb9} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS) (version 24.3.12.76.altinitystable) (from [::1]:37312) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- this syntax is not supported by tokenbf SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'zzz') == 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.126316 [ 23618 ] {aa2c7039-ef3a-4b1a-8ed5-d57465982fb9} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x0000000019ec0f28 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000019ec0a4c 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x0000000019ec0d99 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:258: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001dd4f663 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1971: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd6139e 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.380355 [ 10876 ] {38cb7d6c-f035-4d1a-b901-28a8f8f66d97} executeQuery: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE log_for_alter MODIFY SETTING aaa=123;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1477: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251b00 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.381176 [ 10876 ] {38cb7d6c-f035-4d1a-b901-28a8f8f66d97} TCPHandler: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/AlterCommands.cpp:1477: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c251b00 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.599303 [ 10876 ] {a019a172-94a4-43c4-be95-dd6efcc0aafd} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3434: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea91d 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.600061 [ 10876 ] {a019a172-94a4-43c4-be95-dd6efcc0aafd} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3434: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea91d 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:17.879467 [ 10876 ] {498bf371-6e65-4ad5-92ee-9dd8989ba5b0} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_3jl946dc.table_for_alter (f63492b2-e570-4193-b859-e3f70168a27a)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:17.880324 [ 10876 ] {498bf371-6e65-4ad5-92ee-9dd8989ba5b0} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_3jl946dc.table_for_alter (f63492b2-e570-4193-b859-e3f70168a27a)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:17.941079 [ 10876 ] {90f03a51-acdd-4148-b5c5-707bd4046e7e} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_3jl946dc.table_for_alter (f63492b2-e570-4193-b859-e3f70168a27a)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:17.941943 [ 10876 ] {90f03a51-acdd-4148-b5c5-707bd4046e7e} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_3jl946dc.table_for_alter (f63492b2-e570-4193-b859-e3f70168a27a)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:18.116157 [ 10876 ] {9983270e-3e85-41db-a4f8-d3fe8fe5edfa} executeQuery: Code: 115. DB::Exception: Unknown setting 'xxx_yyy'. (UNKNOWN_SETTING) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING xxx_yyy=124;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001993f707 7. ? @ 0x00000000136b8af1 8. /build/src/Core/BaseSettings.h:218: DB::BaseSettings::set(std::basic_string_view>, DB::Field const&) @ 0x00000000136b8838 9. /build/src/Core/BaseSettings.h:313: DB::BaseSettings::applyChange(DB::SettingChange const&) @ 0x000000001cc4f463 10. /build/src/Core/BaseSettings.h:318: DB::BaseSettings::applyChanges(DB::SettingsChanges const&) @ 0x000000001cc4f4ee 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:7001: DB::MergeTreeData::checkColumnFilenamesForCollision(DB::StorageInMemoryMetadata const&, bool) const @ 0x000000001cbeef31 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3408: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea4ae 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.116866 [ 10876 ] {9983270e-3e85-41db-a4f8-d3fe8fe5edfa} TCPHandler: Code: 115. DB::Exception: Unknown setting 'xxx_yyy'. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001993f707 7. ? @ 0x00000000136b8af1 8. /build/src/Core/BaseSettings.h:218: DB::BaseSettings::set(std::basic_string_view>, DB::Field const&) @ 0x00000000136b8838 9. /build/src/Core/BaseSettings.h:313: DB::BaseSettings::applyChange(DB::SettingChange const&) @ 0x000000001cc4f463 10. /build/src/Core/BaseSettings.h:318: DB::BaseSettings::applyChanges(DB::SettingsChanges const&) @ 0x000000001cc4f4ee 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:7001: DB::MergeTreeData::checkColumnFilenamesForCollision(DB::StorageInMemoryMetadata const&, bool) const @ 0x000000001cbeef31 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3408: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea4ae 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.379131 [ 15113 ] {99d2c91e-13da-4f25-9622-5c9a2a803fd2} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_8hdhj3ca.replicated_constraints1 (9bd93a57-e4be-4774-ae47-766ecb675599) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 24.3.12.76.altinitystable) (from [::1]:37356) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.380379 [ 15113 ] {99d2c91e-13da-4f25-9622-5c9a2a803fd2} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_8hdhj3ca.replicated_constraints1 (9bd93a57-e4be-4774-ae47-766ecb675599) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.487224 [ 10876 ] {c1e8cd6b-4bb1-407f-99a4-1af19e81bd8c} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3434: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea91d 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.488036 [ 10876 ] {c1e8cd6b-4bb1-407f-99a4-1af19e81bd8c} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3434: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea91d 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.645641 [ 10876 ] {db3c1deb-5841-4d01-a87a-f7a6e314c8e9} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_3jl946dc.table_for_reset_setting (30ce9ea6-f5b7-4e94-b19c-9db833a23723)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_reset_setting VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:18.646603 [ 10876 ] {db3c1deb-5841-4d01-a87a-f7a6e314c8e9} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_3jl946dc.table_for_reset_setting (30ce9ea6-f5b7-4e94-b19c-9db833a23723)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:50: DB::MergeTreeSink::onStart() @ 0x000000001d13976c 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:46:18.971911 [ 10876 ] {c27a6c50-dfb0-476a-9c83-77c3223365a7} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting RESET SETTING index_granularity;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3458: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbeaeff 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.971911 [ 15113 ] {772e4984-f27d-42a0-a8ee-3774b6bf23cb} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_8hdhj3ca.replicated_constraints1 (9bd93a57-e4be-4774-ae47-766ecb675599) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 24.3.12.76.altinitystable) (from [::1]:37356) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.972830 [ 10876 ] {c27a6c50-dfb0-476a-9c83-77c3223365a7} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3458: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbeaeff 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:18.973245 [ 15113 ] {772e4984-f27d-42a0-a8ee-3774b6bf23cb} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_8hdhj3ca.replicated_constraints1 (9bd93a57-e4be-4774-ae47-766ecb675599) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:19.100104 [ 10876 ] {d42f7c36-c45c-4492-93f5-c1080e5a76db} executeQuery: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37340) (comment: 00980_merge_alter_settings.sql) (in query: -- don't execute alter with incorrect setting ALTER TABLE table_for_reset_setting RESET SETTING merge_with_ttl_timeout, unknown_setting;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3336: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe965c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:19.100226 [ 15113 ] {9bfd75cf-2f1b-441b-b68f-da9cbf3c152f} executeQuery: Code: 469. DB::Exception: Constraint `b_constraint` for table test_8hdhj3ca.replicated_constraints2 (3a91eefd-e3cd-40bb-bb2a-6fd258ca9094) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT) (version 24.3.12.76.altinitystable) (from [::1]:37356) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:19.100969 [ 10876 ] {d42f7c36-c45c-4492-93f5-c1080e5a76db} TCPHandler: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3336: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe965c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:19.102190 [ 15113 ] {9bfd75cf-2f1b-441b-b68f-da9cbf3c152f} TCPHandler: Code: 469. DB::Exception: Constraint `b_constraint` for table test_8hdhj3ca.replicated_constraints2 (3a91eefd-e3cd-40bb-bb2a-6fd258ca9094) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001a0249da 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:119: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001da1507e 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001d54095e 21. /build/src/Server/TCPHandler.cpp:920: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c91e 22. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 23. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:23.085096 [ 730 ] {0af5abb4-be1f-48de-994b-b6683cdcba1b} ReadWriteBufferFromHTTP: Failed to make request to 'http://localhost/endpoint'. Error: 'Connection refused'. Failed at try 10/10. 2025.03.05 21:46:23.311355 [ 730 ] {0af5abb4-be1f-48de-994b-b6683cdcba1b} executeQuery: Code: 715. DB::Exception: The data format cannot be detected by the contents of the files: Poco::Exception. Code: 1000, e.code() = 111, Connection refused (version 24.3.12.76.altinitystable). You can specify the format manually. (CANNOT_DETECT_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:54594) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint') ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Formats/ReadSchemaUtils.cpp:201: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4ce7d4 7. /build/src/Formats/ReadSchemaUtils.cpp:549: DB::detectFormatAndReadSchema(std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d23e9 8. /build/src/Storages/StorageURL.cpp:946: DB::IStorageURLBase::getTableStructureAndFormatFromDataImpl(std::optional, String const&, DB::CompressionMethod, std::vector> const&, std::optional const&, std::shared_ptr const&) @ 0x000000001c703308 9. /build/src/Storages/StorageURL.cpp:967: DB::IStorageURLBase::getTableStructureAndFormatFromData(String const&, DB::CompressionMethod, std::vector> const&, std::optional const&, std::shared_ptr const&) @ 0x000000001c6ffc60 10. /build/src/Storages/StorageURL.cpp:143: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff906 11. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 17. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 24. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:23.312265 [ 730 ] {0af5abb4-be1f-48de-994b-b6683cdcba1b} TCPHandler: Code: 715. DB::Exception: The data format cannot be detected by the contents of the files: Poco::Exception. Code: 1000, e.code() = 111, Connection refused (version 24.3.12.76.altinitystable). You can specify the format manually. (CANNOT_DETECT_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Formats/ReadSchemaUtils.cpp:201: DB::readSchemaFromFormatImpl(std::optional, std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4ce7d4 7. /build/src/Formats/ReadSchemaUtils.cpp:549: DB::detectFormatAndReadSchema(std::optional const&, DB::IReadBufferIterator&, std::shared_ptr const&) @ 0x000000001d4d23e9 8. /build/src/Storages/StorageURL.cpp:946: DB::IStorageURLBase::getTableStructureAndFormatFromDataImpl(std::optional, String const&, DB::CompressionMethod, std::vector> const&, std::optional const&, std::shared_ptr const&) @ 0x000000001c703308 9. /build/src/Storages/StorageURL.cpp:967: DB::IStorageURLBase::getTableStructureAndFormatFromData(String const&, DB::CompressionMethod, std::vector> const&, std::optional const&, std::shared_ptr const&) @ 0x000000001c6ffc60 10. /build/src/Storages/StorageURL.cpp:143: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff906 11. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 17. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 24. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:23.369814 [ 730 ] {cf7613a8-6136-4ce1-afab-c437f6e7c84e} executeQuery: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT) (version 24.3.12.76.altinitystable) (from [::1]:54594) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'ErrorFormat') ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageURL.cpp:126: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff570 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:23.370801 [ 730 ] {cf7613a8-6136-4ce1-afab-c437f6e7c84e} TCPHandler: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Formats/FormatFactory.cpp:864: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001d4a440d 7. /build/src/Storages/StorageURL.cpp:126: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff570 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:24.976480 [ 730 ] {6cf5eff2-1a12-4ff5-8690-565bf2dab43c} executeQuery: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:54594) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zip') ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x00000000160debb1 7. /build/src/Storages/StorageURL.cpp:117: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff435 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:24.977672 [ 730 ] {6cf5eff2-1a12-4ff5-8690-565bf2dab43c} TCPHandler: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x00000000160debb1 7. /build/src/Storages/StorageURL.cpp:117: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c6ff435 8. /build/src/Storages/StorageURL.cpp:1349: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001c705f4c 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageURL* std::construct_at[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, DB::StorageURL*>(DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c71a029 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void, void>(std::allocator&, DB::StorageURL*, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719e82 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719d74 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719bdf 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&, void>(String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001c719ae8 14. /build/src/Storages/StorageURL.cpp:1559: DB::registerStorageURL(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001c70f9e1 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001c70f73d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001c70f6dd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001c70f69d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001c70f665 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:26.370138 [ 24254 ] {2b696627-0ae5-4c37-b943-321a4bcf45c2} executeQuery: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND) (version 24.3.12.76.altinitystable) (from [::1]:39446) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', toUInt64(-1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Interpreters/convertFieldToType.cpp:610: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5f05b 7. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 8. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:26.371494 [ 24254 ] {2b696627-0ae5-4c37-b943-321a4bcf45c2} TCPHandler: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Interpreters/convertFieldToType.cpp:610: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5f05b 7. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 8. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:26.557721 [ 24254 ] {1a273c84-2664-4405-8d0b-2a0205246ac6} executeQuery: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH) (version 24.3.12.76.altinitystable) (from [::1]:39446) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:605: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5ee6d 7. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 8. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:26.559291 [ 24254 ] {1a273c84-2664-4405-8d0b-2a0205246ac6} TCPHandler: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/convertFieldToType.cpp:605: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001bb5ee6d 7. /build/src/TableFunctions/TableFunctionValues.cpp:65: DB::(anonymous namespace)::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x0000000018d5e697 8. /build/src/TableFunctions/TableFunctionValues.cpp:164: DB::(anonymous namespace)::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d5e090 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 10. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:46:29.351291 [ 10876 ] {0c22816f-e7f0-446f-9812-fe88f2a1a7a9} executeQuery: Code: 51. DB::Exception: Empty list of columns in projection. In scope SELECT COLUMNS('x') FROM numbers(10) WHERE number > 5. (EMPTY_LIST_OF_COLUMNS_QUERIED) (version 24.3.12.76.altinitystable) (from [::1]:57026) (comment: 00969_columns_clause.sql) (in query: SELECT COLUMNS('x') FROM numbers(10) WHERE number > 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8175: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bc56 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:29.352399 [ 10876 ] {0c22816f-e7f0-446f-9812-fe88f2a1a7a9} TCPHandler: Code: 51. DB::Exception: Empty list of columns in projection. In scope SELECT COLUMNS('x') FROM numbers(10) WHERE number > 5. (EMPTY_LIST_OF_COLUMNS_QUERIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8175: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bc56 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 9. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 20. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 21. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:29.486319 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_26125} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 16561578836916064678'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41682) (in query: alter table test delete where value = 20), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:29.488366 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_26125} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 16561578836916064678'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:29.536844 [ 10876 ] {efa0bd92-c140-4300-850c-0fdfe2e2a269} executeQuery: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 0, should be 2: In scope SELECT COLUMNS('n') + COLUMNS('u') FROM (SELECT 1 AS a, 2 AS b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:57026) (comment: 00969_columns_clause.sql) (in query: SELECT COLUMNS('n') + COLUMNS('u') FROM (SELECT 1 AS a, 2 AS b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:46:29.537642 [ 10876 ] {efa0bd92-c140-4300-850c-0fdfe2e2a269} TCPHandler: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 0, should be 2: In scope SELECT COLUMNS('n') + COLUMNS('u') FROM (SELECT 1 AS a, 2 AS b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:46:29.540426 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_4110} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41698) (in query: select 17, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:29.541662 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_4110} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/executeQuery.cpp:888: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbadb23 7. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 8. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 9. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 16. ? @ 0x00007ff3d325bac3 17. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:29.560860 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_28002} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41702) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:29.561931 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx15_28002} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:29.643048 [ 10876 ] {3fe7c727-7942-4b7b-a839-94d46f5ead16} executeQuery: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 3, should be 2: In scope SELECT COLUMNS('a|b') + COLUMNS('b') FROM (SELECT 1 AS a, 2 AS b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:57026) (comment: 00969_columns_clause.sql) (in query: SELECT COLUMNS('a|b') + COLUMNS('b') FROM (SELECT 1 AS a, 2 AS b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:46:29.643751 [ 10876 ] {3fe7c727-7942-4b7b-a839-94d46f5ead16} TCPHandler: Code: 42. DB::Exception: Number of arguments for function plus doesn't match: passed 3, should be 2: In scope SELECT COLUMNS('a|b') + COLUMNS('b') FROM (SELECT 1 AS a, 2 AS b). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:46:40.719081 [ 24254 ] {f768926b-ff4a-4d39-b0e5-e25d65361dec} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:53624) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]' FRRRROM numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:40.720997 [ 24254 ] {f768926b-ff4a-4d39-b0e5-e25d65361dec} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:44.310940 [ 24254 ] {c0475a5f-2570-43eb-a826-eeeb179efde8} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'credit_card_number' in scope SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:40402) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:44.313050 [ 24254 ] {c0475a5f-2570-43eb-a826-eeeb179efde8} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'credit_card_number' in scope SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:46:44.709096 [ 10876 ] {5f0714a7-2776-41df-8e37-1d5e8e3edfdd} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'credit_card_number' in scope SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:53626) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 27. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 28. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 29. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:46:44.710829 [ 10876 ] {5f0714a7-2776-41df-8e37-1d5e8e3edfdd} DynamicQueryHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'credit_card_number' in scope SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8198: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09be77 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 27. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 28. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 29. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:48.260135 [ 24254 ] {91c13541-6b6b-49b3-885c-880a6a8fac29} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100_UInt8 :: 1, minus(__table1.number, 10_UInt8) :: 0) -> intDiv(100_UInt8, minus(__table1.number, 10_UInt8)) Int8 : 2'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:37816) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]', intDiv( 100, number - 10) FROM numbers(11) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e6c3ca1 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000e6c3c01 8. /build/src/Functions/DivisionUtils.h:83: _BitInt(8) DB::DivideIntegralImpl::apply<_BitInt(8)>(char8_t, long) @ 0x000000000e6c3bc1 9. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, _BitInt(8)>::apply<(DB::impl_::OpCase)1>(char8_t const*, long const*, DB::impl_::BinaryOperation, _BitInt(8)>*, unsigned long) @ 0x000000000e6c3e52 10. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, _BitInt(8)>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, DB::impl_::BinaryOperation, _BitInt(8)>*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000e6c3ae0 11. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e877953 12. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e87741b 13. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e8731e4 14. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_18DivideIntegralImplENS_10NameIntDivELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000e68498d 15. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e872f5d 16. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e8729b3 17. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_18DivideIntegralImplENS_10NameIntDivELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000e683f47 18. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e87295d 19. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e870e51 20. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e870a7e 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e86ded6 22. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e86c8ac 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 24. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 25. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 28. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 2025.03.05 21:46:48.262701 [ 24254 ] {91c13541-6b6b-49b3-885c-880a6a8fac29} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100_UInt8 :: 1, minus(__table1.number, 10_UInt8) :: 0) -> intDiv(100_UInt8, minus(__table1.number, 10_UInt8)) Int8 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e6c3ca1 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000e6c3c01 8. /build/src/Functions/DivisionUtils.h:83: _BitInt(8) DB::DivideIntegralImpl::apply<_BitInt(8)>(char8_t, long) @ 0x000000000e6c3bc1 9. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, _BitInt(8)>::apply<(DB::impl_::OpCase)1>(char8_t const*, long const*, DB::impl_::BinaryOperation, _BitInt(8)>*, unsigned long) @ 0x000000000e6c3e52 10. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, _BitInt(8)>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, DB::impl_::BinaryOperation, _BitInt(8)>*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000e6c3ae0 11. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e877953 12. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e87741b 13. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e8731e4 14. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_18DivideIntegralImplENS_10NameIntDivELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000e68498d 15. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e872f5d 16. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e8729b3 17. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_18DivideIntegralImplENS_10NameIntDivELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000e683f47 18. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e87295d 19. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e870e51 20. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e870a7e 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e86ded6 22. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e86c8ac 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 24. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 25. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 28. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 2025.03.05 21:46:48.604518 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx17_31452} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 15619275127037885354'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:39700) (in query: alter table test update value = 11 where id = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:48.607061 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx17_31452} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 15619275127037885354'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001ce26c04 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001ce269a0 7. /build/src/Storages/StorageMergeTree.cpp:620: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001d0f2012 8. /build/src/Storages/StorageMergeTree.cpp:590: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001d0ef668 9. /build/src/Storages/StorageMergeTree.cpp:661: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d0f3869 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:221: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9600 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 14. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 15. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:48.658586 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx17_17323} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:39706) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:48.659624 [ 23445 ] {01167_isolation_hermitage_test_dpbi1vkw_tx17_17323} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:62: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001bbc3dea 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:30: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001bbc385d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:46:59.827277 [ 24805 ] {108ecee9-1605-4f37-b0d7-6e895311e76a} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:37868) (comment: 00956_sensitive_data_masking.sh) (in query: select sleepEachRow(1) from numbers(10) where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:46:59.829610 [ 24805 ] {108ecee9-1605-4f37-b0d7-6e895311e76a} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001d538b70 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:110: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001d5389df 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538955 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001d538939 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001d53889d 15. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001d5387a7 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d538715 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d5386f5 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d5386d5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d5386a0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133dc0b5 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x00000000133dc07d 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x00000000133dbe82 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:11.750653 [ 27322 ] {36889056-5937-428a-a2ea-669b67a9aeae} executeQuery: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER) (version 24.3.12.76.altinitystable) (from [::1]:53784) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001bb9196d 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb90cca 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 17. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:11.752532 [ 27322 ] {36889056-5937-428a-a2ea-669b67a9aeae} TCPHandler: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001bb9196d 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001bb90cca 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90b65 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001bb91813 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001bb90c5b 17. /build/src/Interpreters/executeQuery.cpp:820: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbad43e 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:20.359871 [ 10261 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/01-01/visits/replicas/some.server.com. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001d402cb2 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001d3ffb98 8. /build/src/Server/InterserverIOHTTPHandler.cpp:130: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d4003a7 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 15. ? @ 0x00007ff3d325bac3 16. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:47:46.109240 [ 27701 ] {0d70797b-ef95-49bb-9428-41362f51cc7a} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:45150) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify ttl a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/TTLDescription.cpp:395: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728a80 9. /build/src/Storages/AlterCommands.cpp:769: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a57b 10. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:46.110228 [ 27701 ] {0d70797b-ef95-49bb-9428-41362f51cc7a} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/TTLDescription.cpp:395: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728a80 9. /build/src/Storages/AlterCommands.cpp:769: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24a57b 10. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:46.544292 [ 27701 ] {e9a1d1ff-c5b8-4bf7-b2d6-d0ea4bc5939b} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:45150) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d Int ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e30c4b 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e2f363 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Interpreters/ActionsDAG.cpp:243: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43567f 13. /build/src/Interpreters/ActionsVisitor.cpp:645: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a708007 14. /build/src/Interpreters/ActionsVisitor.h:182: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a714121 15. /build/src/Interpreters/ActionsVisitor.cpp:1318: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a70d80f 16. /build/src/Interpreters/ActionsVisitor.cpp:704: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a7084d7 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001a6fe560 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001a6fe741 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001a6fe4ea 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001a6dc345 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:484: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001a6c90bd 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1754: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001a6d5458 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1787: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001a6d57c3 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc94b 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 26. /build/src/Storages/AlterCommands.cpp:1142: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d52f 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:47:46.545338 [ 27701 ] {e9a1d1ff-c5b8-4bf7-b2d6-d0ea4bc5939b} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e30c4b 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e2f363 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Interpreters/ActionsDAG.cpp:243: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43567f 13. /build/src/Interpreters/ActionsVisitor.cpp:645: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a708007 14. /build/src/Interpreters/ActionsVisitor.h:182: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001a714121 15. /build/src/Interpreters/ActionsVisitor.cpp:1318: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a70d80f 16. /build/src/Interpreters/ActionsVisitor.cpp:704: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001a7084d7 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001a6fe560 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001a6fe741 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001a6fe4ea 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001a6dc345 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:484: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001a6c90bd 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1754: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001a6d5458 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1787: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001a6d57c3 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc94b 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 26. /build/src/Storages/AlterCommands.cpp:1142: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d52f 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:47:46.694501 [ 27701 ] {fd99690f-15f6-4db2-8fd5-f4ce3642151a} executeQuery: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 24.3.12.76.altinitystable) (from [::1]:45150) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d DateTime ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3346: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe9823 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:46.695311 [ 27701 ] {fd99690f-15f6-4db2-8fd5-f4ce3642151a} TCPHandler: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3346: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe9823 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.233091 [ 27702 ] {668867b5-dcb7-44f8-b108-321a05d3e9cc} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime ttl d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:839: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001cbb17c7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:411: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae2af 8. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:47:48.234108 [ 27702 ] {668867b5-dcb7-44f8-b108-321a05d3e9cc} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:839: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001cbb17c7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:411: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae2af 8. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:47:48.273840 [ 27702 ] {1b6d786f-f44d-4949-9171-5c69bf81bf32} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d) engine = MergeTree order by a partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:839: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001cbb17c7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:411: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae2af 8. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:47:48.274776 [ 27702 ] {1b6d786f-f44d-4949-9171-5c69bf81bf32} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:839: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001cbb17c7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:411: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::LoadingStrictnessLevel, std::function) @ 0x000000001cbae2af 8. /build/src/Storages/StorageMergeTree.cpp:104: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, DB::LoadingStrictnessLevel, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>) @ 0x000000001d0e9db6 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e99b7 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e96c7 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e9375 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e91a7 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, DB::LoadingStrictnessLevel const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&) @ 0x000000001d0e636d 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:741: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3eaa 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 21. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 25. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:47:48.478293 [ 27702 ] {bffb9459-c4d6-49d8-9bb9-2ab6347e4a5f} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e2563 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.479398 [ 27702 ] {bffb9459-c4d6-49d8-9bb9-2ab6347e4a5f} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e2563 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.508654 [ 27702 ] {b58e8cb0-5efc-4f2a-a002-4acf2df70138} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e2563 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.509451 [ 27702 ] {b58e8cb0-5efc-4f2a-a002-4acf2df70138} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/TTLDescription.cpp:85: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&, bool) @ 0x000000001c728596 7. /build/src/Storages/TTLDescription.cpp:345: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&, bool) @ 0x000000001c728048 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:606: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e2563 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.664944 [ 27702 ] {e36042e6-c483-44cf-9131-d1fd98eb54da} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, ReplicatedVersionedCollapsingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d + interval 1 day) engine = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000001357e4e8 6. /build/src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const::$_0::operator()(String, std::function) const @ 0x000000001c36d014 7. /build/src/Storages/StorageFactory.cpp:188: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36c370 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.665767 [ 27702 ] {e36042e6-c483-44cf-9131-d1fd98eb54da} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, ReplicatedVersionedCollapsingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000001357e4e8 6. /build/src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const::$_0::operator()(String, std::function) const @ 0x000000001c36d014 7. /build/src/Storages/StorageFactory.cpp:188: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36c370 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.682090 [ 27702 ] {79b462a7-9a1d-4e95-a1d7-cdef72aa10b1} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, ReplicatedVersionedCollapsingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:45122) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int) engine = Log ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000001357e4e8 6. /build/src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const::$_0::operator()(String, std::function) const @ 0x000000001c36d014 7. /build/src/Storages/StorageFactory.cpp:188: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36c370 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:47:48.682914 [ 27702 ] {79b462a7-9a1d-4e95-a1d7-cdef72aa10b1} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, ReplicatedVersionedCollapsingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000001357e4e8 6. /build/src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const::$_0::operator()(String, std::function) const @ 0x000000001c36d014 7. /build/src/Storages/StorageFactory.cpp:188: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36c370 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:21.649352 [ 15113 ] {f9716b16-b285-4879-b1d6-30517c458517} executeQuery: Code: 394. DB::Exception: Query was cancelled: while executing 'FUNCTION sleep(1_UInt8 :: 0) -> sleep(1_UInt8) UInt8 : 1'. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:39328) (comment: 00909_kill_not_initialized_query.sh) (in query: SELECT sum(1) FROM cannot_kill_query WHERE NOT ignore(sleep(1)) SETTINGS max_threads = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Functions/sleep.h:133: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000011b7392b 8. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b73057 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 10. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 14. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 15. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 16. /build/src/Storages/VirtualColumnUtils.cpp:80: DB::VirtualColumnUtils::filterBlockWithDAG(std::shared_ptr, DB::Block&, std::shared_ptr) @ 0x000000001c72f424 17. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:490: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001cd0bb99 18. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1418: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001dd5af03 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1546: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x000000001dd5aaf4 20. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 21. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 22. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:48:21.690607 [ 15113 ] {f9716b16-b285-4879-b1d6-30517c458517} TCPHandler: Code: 394. DB::Exception: Query was cancelled: while executing 'FUNCTION sleep(1_UInt8 :: 0) -> sleep(1_UInt8) UInt8 : 1'. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Functions/sleep.h:133: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000011b7392b 8. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b73057 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 10. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 14. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 15. /build/src/Interpreters/ExpressionActions.cpp:794: DB::ExpressionActions::execute(DB::Block&, bool, bool) const @ 0x000000001a6a1940 16. /build/src/Storages/VirtualColumnUtils.cpp:80: DB::VirtualColumnUtils::filterBlockWithDAG(std::shared_ptr, DB::Block&, std::shared_ptr) @ 0x000000001c72f424 17. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:490: DB::MergeTreeDataSelectExecutor::filterPartsByVirtualColumns(DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001cd0bb99 18. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1418: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::vector, std::allocator>> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001dd5af03 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1546: DB::ReadFromMergeTree::applyFilters(DB::ActionDAGNodes) @ 0x000000001dd5aaf4 20. /build/src/Processors/QueryPlan/SourceStepWithFilter.h:55: DB::SourceStepWithFilter::applyFilters() @ 0x000000001de2c5b9 21. /build/src/Processors/QueryPlan/Optimizations/optimizePrimaryKeyCondition.cpp:41: DB::QueryPlanOptimizations::optimizePrimaryKeyCondition(std::vector> const&) @ 0x000000001de2c154 22. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:117: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001de25f0e 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:507: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001dd3283d 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd32357 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:48:27.225096 [ 27700 ] {9b549b7d-72a3-4fc8-824a-d6cc8bdb44a9} executeQuery: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: In scope SELECT CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:39414) (comment: 00879_cast_to_decimal_crash.sql) (in query: select cast(toIntervalDay(1) as Nullable(Decimal(10, 10)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:3367: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x000000000ac27334 7. /build/src/Functions/FunctionsConversion.cpp:4629: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)::operator()>, void>>(auto const&) const @ 0x000000000aab069c 8. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x000000000aa6edb2 9. /build/src/Functions/FunctionsConversion.cpp:4761: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e418 10. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 11. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 12. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:48:27.225997 [ 27700 ] {9b549b7d-72a3-4fc8-824a-d6cc8bdb44a9} TCPHandler: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: In scope SELECT CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:3367: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x000000000ac27334 7. /build/src/Functions/FunctionsConversion.cpp:4629: bool DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)::operator()>, void>>(auto const&) const @ 0x000000000aab069c 8. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x000000000aa6edb2 9. /build/src/Functions/FunctionsConversion.cpp:4761: DB::(anonymous namespace)::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa6e418 10. /build/src/Functions/FunctionsConversion.cpp:4495: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000aa695bc 11. /build/src/Functions/FunctionsConversion.cpp:4423: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa68870 12. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:48:50.189126 [ 27701 ] {eb61e5cd-1bab-4552-b615-d99ed72d6a92} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: In scope (SELECT toDecimal128([], rowNumberInBlock())). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:57290) (comment: 00811_garbage.sql) (in query: SELECT ( SELECT toDecimal128([], rowNumberInBlock()) ) , lcm('', [[(CAST(('>A') AS String))]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ae182a0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ae181a0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ae1815d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ae1811d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ae180dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ae180a5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ae17edb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adff0ba 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:48:50.190170 [ 27701 ] {eb61e5cd-1bab-4552-b615-d99ed72d6a92} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: In scope (SELECT toDecimal128([], rowNumberInBlock())). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ae182a0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ae181a0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ae1815d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ae1811d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ae180dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ae180a5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ae17edb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adff0ba 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 2025.03.05 21:48:51.891970 [ 10876 ] {126cae83-80b5-4b7f-97f9-9e721a7e8d65} executeQuery: Code: 277. DB::Exception: Primary key (id, date) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:57328) (comment: 00808_not_optimize_predicate.sql) (in query: SELECT * FROM (SELECT * FROM test_00808 LIMIT 1) WHERE id = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:51.892934 [ 10876 ] {126cae83-80b5-4b7f-97f9-9e721a7e8d65} TCPHandler: Code: 277. DB::Exception: Primary key (id, date) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:51.946636 [ 10876 ] {dc11c5d5-17b6-4571-b359-7bfb8cb08365} executeQuery: Code: 277. DB::Exception: Primary key (id, date) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 24.3.12.76.altinitystable) (from [::1]:57328) (comment: 00808_not_optimize_predicate.sql) (in query: SELECT * FROM (SELECT id FROM test_00808 GROUP BY id LIMIT 1 BY id) WHERE id = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:51.947695 [ 10876 ] {dc11c5d5-17b6-4571-b359-7bfb8cb08365} TCPHandler: Code: 277. DB::Exception: Primary key (id, date) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001c3c0af3 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1623: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5c1ad 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1570: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, std::shared_ptr, std::optional&) @ 0x000000001dd5a66f 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1371: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001dd5a49e 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1854: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001dd6028c 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1969: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd612fb 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:53.716686 [ 27700 ] {6495b520-f0b8-4e2f-8e52-3116a24f1c2a} executeQuery: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE bad_codec(id UInt64 CODEC(adssadads)) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:53.717767 [ 27700 ] {6495b520-f0b8-4e2f-8e52-3116a24f1c2a} TCPHandler: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:53.877921 [ 27700 ] {334fd5a9-277f-45b2-bfa9-41922eed3bae} executeQuery: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE too_many_params(id UInt64 CODEC(ZSTD(2,3,4,5))) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ce6ac73 6. /build/src/Compression/CompressionCodecZSTD.cpp:93: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x0000000019df4173 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019df405d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019df401d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019df3fdd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019df3fa5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019def07e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019def03d 13. /build/src/Compression/CompressionFactory.cpp:156: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de5bc5 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de5b88 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de5b45 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de5b05 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de5ab0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 20. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 28. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 29. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 2025.03.05 21:48:53.878890 [ 27700 ] {334fd5a9-277f-45b2-bfa9-41922eed3bae} TCPHandler: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ce6ac73 6. /build/src/Compression/CompressionCodecZSTD.cpp:93: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x0000000019df4173 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019df405d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019df401d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019df3fdd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019df3fa5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019def07e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019def03d 13. /build/src/Compression/CompressionFactory.cpp:156: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de5bc5 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de5b88 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de5b45 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de5b05 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de5ab0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 20. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 28. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 29. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 2025.03.05 21:48:54.038876 [ 27700 ] {2fad8d0c-536e-4703-aa12-e47963e5c2c7} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE params_when_no_params(id UInt64 CODEC(LZ4(1))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:168: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x0000000019de61c8 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de611d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de60dd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de609d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de6068 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019def07e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019def03d 13. /build/src/Compression/CompressionFactory.cpp:156: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de5bc5 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de5b88 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de5b45 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de5b05 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de5ab0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 20. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 28. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 29. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 2025.03.05 21:48:54.039794 [ 27700 ] {2fad8d0c-536e-4703-aa12-e47963e5c2c7} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:168: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x0000000019de61c8 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de611d 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de60dd 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de609d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de6068 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019def07e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019def03d 13. /build/src/Compression/CompressionFactory.cpp:156: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de5bc5 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019de5b88 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019de5b45 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019de5b05 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019de5ab0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 20. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 28. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 29. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 2025.03.05 21:48:54.058744 [ 27700 ] {dbc3fa36-2b15-4e8b-a293-55a38d58c6e6} executeQuery: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_1(id UInt64 CODEC(MULTIPLE(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:54.059744 [ 27700 ] {dbc3fa36-2b15-4e8b-a293-55a38d58c6e6} TCPHandler: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:54.077966 [ 27700 ] {5f967f45-6468-49c4-a026-f79a6dbb6762} executeQuery: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_2(id UInt64 CODEC(multiple(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:54.078754 [ 27700 ] {5f967f45-6468-49c4-a026-f79a6dbb6762} TCPHandler: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Compression/CompressionFactory.cpp:128: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4d7d 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 14. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 15. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 21. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 22. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 23. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 24. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 30. ? @ 0x00007ff3d325bac3 31. ? @ 0x00007ff3d32ed850 2025.03.05 21:48:54.239555 [ 27700 ] {7210e33b-8557-44e4-84f0-797807ae2332} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params1(id UInt64 CODEC(Delta(3))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Compression/CompressionCodecDelta.cpp:210: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcbaa 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:48:54.240430 [ 27700 ] {7210e33b-8557-44e4-84f0-797807ae2332} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Compression/CompressionCodecDelta.cpp:210: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcbaa 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:48:54.258151 [ 27700 ] {07e21a37-df59-4b0f-832d-5a5af7ff89f7} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params2(id UInt64 CODEC(Delta(16))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Compression/CompressionCodecDelta.cpp:210: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcbaa 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:48:54.258990 [ 27700 ] {07e21a37-df59-4b0f-832d-5a5af7ff89f7} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000b45f6f3 6. /build/src/Compression/CompressionCodecDelta.cpp:210: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcbaa 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 13. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 21. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 22. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 28. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:48:55.323632 [ 27700 ] {9d534458-dc63-4006-9d45-903e74fe7769} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:57330) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE compression_codec_multiple_more_types ( id Decimal128(13) CODEC(ZSTD, LZ4, ZSTD, ZSTD, Delta(2), Delta(4), Delta(1), LZ4HC), data FixedString(12) CODEC(ZSTD, ZSTD, Delta, Delta, Delta, NONE, NONE, NONE, LZ4HC), ddd Nested (age UInt8, Name String) CODEC(LZ4, LZ4HC, NONE, NONE, NONE, ZSTD, Delta(8)) ) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecDelta.cpp:184: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x0000000019dfce89 7. /build/src/Compression/CompressionCodecDelta.cpp:215: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcc2f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 14. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 23. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:48:55.324643 [ 27700 ] {9d534458-dc63-4006-9d45-903e74fe7769} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Compression/CompressionCodecDelta.cpp:184: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x0000000019dfce89 7. /build/src/Compression/CompressionCodecDelta.cpp:215: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019dfcc2f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019dfc828 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019dfc7e5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019dfc7a5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019dfc74d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019deb389 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019de73a5 14. /build/src/Compression/CompressionFactory.cpp:130: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x0000000019de4dd9 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001b03891a 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b03883d 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001b0387fd 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b0387bd 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b038788 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000019fd587e 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000019fd1cfd 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000019fcf0d6 23. /build/src/DataTypes/Serializations/ISerialization.cpp:103: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000019fcf25c 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001b03717c 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:672: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool, bool) @ 0x000000001b00d6ec 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00e189 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 29. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:03.257621 [ 10876 ] {0253c575-0eaf-431c-a958-4ee37dde2b94} executeQuery: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE no_order MODIFY ORDER BY (a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.258597 [ 10876 ] {0253c575-0eaf-431c-a958-4ee37dde2b94} TCPHandler: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.509231 [ 10876 ] {9a790cf5-ed8a-4067-9483-d9a087c2546b} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3247: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe868e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.510108 [ 10876 ] {9a790cf5-ed8a-4067-9483-d9a087c2546b} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3247: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe868e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.731055 [ 10876 ] {1c219e98-2671-4cc9-abec-9a9e07b61575} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.732328 [ 10876 ] {1c219e98-2671-4cc9-abec-9a9e07b61575} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.897344 [ 10876 ] {a7b266b1-ff35-44cd-9c6a-33c16e6e7475} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:639: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb45b6 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:03.898548 [ 10876 ] {a7b266b1-ff35-44cd-9c6a-33c16e6e7475} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:639: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb45b6 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.088327 [ 10876 ] {95961622-a6da-4bc6-80c2-7b6153f5ccf5} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001ba9f8a7 7. /build/src/Interpreters/TreeRewriter.cpp:1508: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa7110 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc8a6 9. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 10. /build/src/Storages/AlterCommands.cpp:593: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c248bfe 11. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.089459 [ 10876 ] {95961622-a6da-4bc6-80c2-7b6153f5ccf5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001ba9f8a7 7. /build/src/Interpreters/TreeRewriter.cpp:1508: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa7110 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc8a6 9. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 10. /build/src/Storages/AlterCommands.cpp:593: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c248bfe 11. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.235709 [ 10876 ] {aeae14a7-69df-4e49-8c8f-3e694683f4f1} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41990) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:572: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb3986 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.235876 [ 27704 ] {b072cf06-1838-4068-b7b7-1537e8a85676} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3247: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe868e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.236555 [ 10876 ] {aeae14a7-69df-4e49-8c8f-3e694683f4f1} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:572: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb3986 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.237364 [ 27704 ] {b072cf06-1838-4068-b7b7-1537e8a85676} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3247: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe868e 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.769907 [ 27704 ] {6d6e184b-94e9-46e9-967b-5fdd27239c5e} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.770788 [ 27704 ] {6d6e184b-94e9-46e9-967b-5fdd27239c5e} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:633: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb439f 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.811178 [ 27704 ] {761ef440-13b3-4b7c-8d95-887b247149e4} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:639: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb45b6 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.811938 [ 27704 ] {761ef440-13b3-4b7c-8d95-887b247149e4} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:639: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb45b6 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.835500 [ 27704 ] {321d94bb-610e-4fc8-9c4b-adcd95ea3c55} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001ba9f8a7 7. /build/src/Interpreters/TreeRewriter.cpp:1508: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa7110 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc8a6 9. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 10. /build/src/Storages/AlterCommands.cpp:593: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c248bfe 11. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.836363 [ 27704 ] {321d94bb-610e-4fc8-9c4b-adcd95ea3c55} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001ba9f8a7 7. /build/src/Interpreters/TreeRewriter.cpp:1508: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001baa7110 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001c2bc8a6 9. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001c2bc486 10. /build/src/Storages/AlterCommands.cpp:593: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c248bfe 11. /build/src/Storages/AlterCommands.cpp:1125: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001c24d30b 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:3121: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe6fcd 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.865235 [ 27704 ] {04a4e706-bae1-4ca3-bbe9-d1046f02def6} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing_r1 MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:572: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb3986 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:04.866059 [ 27704 ] {04a4e706-bae1-4ca3-bbe9-d1046f02def6} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000b01934c 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:572: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, bool, std::shared_ptr) const @ 0x000000001cbb3986 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3409: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbea50f 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:05.241312 [ 10876 ] {8f741a64-e3eb-46bb-9bce-c6a64e11c86d} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt8(1)). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:42036) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt8(1))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(char8_t) @ 0x000000000b22d841 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b22946b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b228473 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:05.243622 [ 10876 ] {8f741a64-e3eb-46bb-9bce-c6a64e11c86d} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt8(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(char8_t) @ 0x000000000b22d841 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b22946b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b228473 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:08.548469 [ 1368 ] {} test_dzds7da8.replicated_table_detach_all2 (8846ba96-61f8-42df-ad9a-39d9b192bcd2): Part 1_2_2_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2025.03.05 21:49:08.752520 [ 10876 ] {8e9bdf1d-c0e4-43ce-9261-0e1ffadfdad6} executeQuery: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE replicated_table_detach_all1 FETCH PARTITION ALL FROM '/clickhouse/tables/test_00753_{database}/replicated_table_detach_all1';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:08.753546 [ 10876 ] {8e9bdf1d-c0e4-43ce-9261-0e1ffadfdad6} TCPHandler: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:08.927460 [ 24254 ] {bb7392da-33b1-45f3-9c6d-0877b12c1774} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt16(1)). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:47462) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt16(1))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned short) @ 0x000000000b22d8e2 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b22970b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2284a6 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:08.929358 [ 24254 ] {bb7392da-33b1-45f3-9c6d-0877b12c1774} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt16(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned short) @ 0x000000000b22d8e2 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b22970b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2284a6 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:09.328323 [ 10876 ] {b558e31a-c768-4de1-9f9b-6cbb447ce45e} executeQuery: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: -- test PARTITION ALL ALTER TABLE partition_all2 REPLACE PARTITION ALL FROM partition_all;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.329218 [ 10876 ] {b558e31a-c768-4de1-9f9b-6cbb447ce45e} TCPHandler: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.341346 [ 10876 ] {6a3290be-6654-4343-abb4-a7c0c9773431} executeQuery: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE partition_all MOVE PARTITION ALL TO TABLE partition_all2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.341931 [ 10876 ] {6a3290be-6654-4343-abb4-a7c0c9773431} TCPHandler: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.470914 [ 10876 ] {02945db2-705a-4611-86bd-3075b562e7db} executeQuery: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE partition_all2 CLEAR INDEX p IN PARTITION ALL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3205: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f94 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.471647 [ 10876 ] {02945db2-705a-4611-86bd-3075b562e7db} TCPHandler: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3205: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f94 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.492208 [ 10876 ] {316d8015-33e6-4925-bbd7-84cc1b39c9e0} executeQuery: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE partition_all2 CLEAR COLUMN q IN PARTITION ALL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3205: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f94 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.492811 [ 10876 ] {316d8015-33e6-4925-bbd7-84cc1b39c9e0} TCPHandler: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3205: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbe7f94 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.642320 [ 10876 ] {22bed9c9-c705-4266-83fe-04a72ee214d9} executeQuery: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE partition_all2 UPDATE q = q + 1 IN PARTITION ALL where p = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Interpreters/MutationsInterpreter.cpp:237: DB::getPartitionAndPredicateExpressionForMutationCommand(DB::MutationCommand const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b65c66b 8. /build/src/Interpreters/MutationsInterpreter.cpp:1393: DB::MutationsInterpreter::getPartitionAndPredicateExpressionForMutationCommand(DB::MutationCommand const&) const @ 0x000000001b665133 9. /build/src/Interpreters/MutationsInterpreter.cpp:691: DB::MutationsInterpreter::prepare(bool) @ 0x000000001b6603d0 10. /build/src/Interpreters/MutationsInterpreter.cpp:420: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001b65eaea 11. /build/src/Interpreters/MutationsInterpreter.cpp:368: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001b65da09 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:220: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9558 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.643133 [ 10876 ] {22bed9c9-c705-4266-83fe-04a72ee214d9} TCPHandler: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Interpreters/MutationsInterpreter.cpp:237: DB::getPartitionAndPredicateExpressionForMutationCommand(DB::MutationCommand const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b65c66b 8. /build/src/Interpreters/MutationsInterpreter.cpp:1393: DB::MutationsInterpreter::getPartitionAndPredicateExpressionForMutationCommand(DB::MutationCommand const&) const @ 0x000000001b665133 9. /build/src/Interpreters/MutationsInterpreter.cpp:691: DB::MutationsInterpreter::prepare(bool) @ 0x000000001b6603d0 10. /build/src/Interpreters/MutationsInterpreter.cpp:420: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001b65eaea 11. /build/src/Interpreters/MutationsInterpreter.cpp:368: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001b65da09 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:220: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9558 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 14. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 15. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 16. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 17. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 23. ? @ 0x00007ff3d325bac3 24. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.657630 [ 10876 ] {a4977489-4db5-4d58-a2d8-07fc3ed437f8} executeQuery: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: ALTER TABLE partition_all2 FREEZE PARTITION ALL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.658368 [ 10876 ] {a4977489-4db5-4d58-a2d8-07fc3ed437f8} TCPHandler: Code: 344. DB::Exception: Only support DROP/DETACH/ATTACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4885: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07f1c 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.817579 [ 10876 ] {0e528872-b5c5-462e-8f59-4c8f2e80505c} executeQuery: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: CHECK TABLE partition_all2 PARTITION ALL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/StorageMergeTree.cpp:2295: DB::StorageMergeTree::getCheckTaskList(std::variant, String> const&, std::shared_ptr) @ 0x000000001d11204d 8. /build/src/Interpreters/InterpreterCheckQuery.cpp:99: DB::(anonymous namespace)::TableCheckTask::TableCheckTask(DB::StorageID, std::variant, String> const&, std::shared_ptr) @ 0x000000001bc2e920 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::TableCheckTask* std::construct_at[abi:v15000], String>, std::shared_ptr const&, DB::(anonymous namespace)::TableCheckTask*>(DB::(anonymous namespace)::TableCheckTask*, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e7b4 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String>, std::shared_ptr const&, void, void>(std::allocator&, DB::(anonymous namespace)::TableCheckTask*, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e531 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String>, std::shared_ptr const&>(std::allocator, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e237 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID&, std::variant, String>, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e0aa 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String>, std::shared_ptr const&, void>(DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2d036 14. /build/src/Interpreters/InterpreterCheckQuery.cpp:398: DB::InterpreterCheckQuery::execute() @ 0x000000001bc2b7a3 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.818462 [ 10876 ] {0e528872-b5c5-462e-8f59-4c8f2e80505c} TCPHandler: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/StorageMergeTree.cpp:2295: DB::StorageMergeTree::getCheckTaskList(std::variant, String> const&, std::shared_ptr) @ 0x000000001d11204d 8. /build/src/Interpreters/InterpreterCheckQuery.cpp:99: DB::(anonymous namespace)::TableCheckTask::TableCheckTask(DB::StorageID, std::variant, String> const&, std::shared_ptr) @ 0x000000001bc2e920 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::TableCheckTask* std::construct_at[abi:v15000], String>, std::shared_ptr const&, DB::(anonymous namespace)::TableCheckTask*>(DB::(anonymous namespace)::TableCheckTask*, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e7b4 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], String>, std::shared_ptr const&, void, void>(std::allocator&, DB::(anonymous namespace)::TableCheckTask*, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e531 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String>, std::shared_ptr const&>(std::allocator, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e237 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID&, std::variant, String>, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2e0aa 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], String>, std::shared_ptr const&, void>(DB::StorageID&, std::variant, String>&&, std::shared_ptr const&) @ 0x000000001bc2d036 14. /build/src/Interpreters/InterpreterCheckQuery.cpp:398: DB::InterpreterCheckQuery::execute() @ 0x000000001bc2b7a3 15. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 16. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 17. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 18. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 24. ? @ 0x00007ff3d325bac3 25. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.947460 [ 10876 ] {aa8e3803-de5c-4959-89a0-49bfef19ee7b} executeQuery: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED) (version 24.3.12.76.altinitystable) (from [::1]:42058) (comment: 00753_alter_attach.sql) (in query: OPTIMIZE TABLE partition_all2 PARTITION ALL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/StorageMergeTree.cpp:1613: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d101025 8. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:84: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1ad45 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:09.948192 [ 10876 ] {aa8e3803-de5c-4959-89a0-49bfef19ee7b} TCPHandler: Code: 344. DB::Exception: Only Support DETACH PARTITION ALL currently. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5673: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001cbec06e 7. /build/src/Storages/StorageMergeTree.cpp:1613: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d101025 8. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:84: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1ad45 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:12.437851 [ 24254 ] {c4e517c6-e88c-42f8-b584-42f037051606} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt32(1)). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:47518) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt32(1))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned int) @ 0x000000000b22d97e 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2299aa 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2284dd 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:12.439908 [ 24254 ] {c4e517c6-e88c-42f8-b584-42f037051606} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt32(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned int) @ 0x000000000b22d97e 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2299aa 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b2284dd 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:15.549727 [ 23445 ] {68876e49-4958-472b-bfad-55263a1a03c3} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 0, should be 1: In scope SELECT base64Encode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.550531 [ 23445 ] {68876e49-4958-472b-bfad-55263a1a03c3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 0, should be 1: In scope SELECT base64Encode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.566233 [ 23445 ] {7e26060a-1d92-41ea-97f9-c55d62291f9d} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: In scope SELECT base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.567175 [ 23445 ] {7e26060a-1d92-41ea-97f9-c55d62291f9d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: In scope SELECT base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.582504 [ 23445 ] {3aae3706-aad3-4a48-8524-791ba4336a31} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 0, should be 1: In scope SELECT tryBase64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.583398 [ 23445 ] {3aae3706-aad3-4a48-8524-791ba4336a31} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 0, should be 1: In scope SELECT tryBase64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.600752 [ 23445 ] {b7d8a593-8993-476b-bf67-d41273a9b998} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: In scope SELECT base64Encode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode('foo', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.601516 [ 23445 ] {b7d8a593-8993-476b-bf67-d41273a9b998} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: In scope SELECT base64Encode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.618799 [ 23445 ] {813727d7-37d9-415a-868d-a329883a174d} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: In scope SELECT base64Decode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('foo', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.619596 [ 23445 ] {813727d7-37d9-415a-868d-a329883a174d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: In scope SELECT base64Decode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.638836 [ 23445 ] {27ded25f-ee30-4e1e-b224-b2436a49e63f} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: In scope SELECT tryBase64Decode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode('foo', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:15.639712 [ 23445 ] {27ded25f-ee30-4e1e-b224-b2436a49e63f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: In scope SELECT tryBase64Decode('foo', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:16.051260 [ 15113 ] {a9739b95-4242-40ae-a91d-9a54ce8c3e5b} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt64(1)). (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:47556) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt64(1))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned long) @ 0x000000000b22da1f 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b229c4b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b228513 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:16.206468 [ 15113 ] {a9739b95-4242-40ae-a91d-9a54ce8c3e5b} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: In scope SELECT javaHash(toUInt64(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsHashing.h:502: int DB::JavaHashImpl::apply(unsigned long) @ 0x000000000b22da1f 7. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b229c4b 8. /build/src/Functions/FunctionsHashing.h:820: void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x000000000b228513 9. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x000000000b22802e 10. /build/src/Functions/FunctionsHashing.h:820: DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b227b96 11. /build/src/Functions/PerformanceAdaptors.h:221: DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b05ef7d 12. /build/src/Functions/FunctionsHashing.h:1353: DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2278dc 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:16.206477 [ 23445 ] {ad280d81-ae0d-4981-8cf7-45f93f813072} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': In scope SELECT base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: -- test with invalid inputs SELECT base64Decode('Zm9vYmF=Zm9v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:16.207776 [ 23445 ] {ad280d81-ae0d-4981-8cf7-45f93f813072} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': In scope SELECT base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:16.255181 [ 23445 ] {c61ce8e1-2016-4169-97c4-515094f4916e} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'foo': In scope SELECT base64Decode('foo'). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:16.256011 [ 23445 ] {c61ce8e1-2016-4169-97c4-515094f4916e} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'foo': In scope SELECT base64Decode('foo'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:16.301778 [ 23445 ] {f0c113c2-a18a-47c0-b36f-e8574c8b133c} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'aoeo054640eu=': In scope SELECT base64Decode('aoeo054640eu='). (INCORRECT_DATA) (version 24.3.12.76.altinitystable) (from [::1]:47554) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('aoeo054640eu=');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:16.302676 [ 23445 ] {f0c113c2-a18a-47c0-b36f-e8574c8b133c} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'aoeo054640eu=': In scope SELECT base64Decode('aoeo054640eu='). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/Functions/FunctionBase64Conversion.h:57: DB::Base64Decode::perform(std::span, char8_t*) @ 0x000000000ba92f40 7. /build/src/Functions/FunctionBase64Conversion.h:148: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000ba92c7d 8. /build/src/Functions/FunctionBase64Conversion.h:117: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba923fa 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:18.920375 [ 15113 ] {2c0971a4-d1a2-4e43-9636-9a2afcdabf01} executeQuery: Code: 128. DB::Exception: Array of size 100000000 is too large to be manipulated as single field, maximum size 1000000: In scope SELECT length(range(100000000)). (TOO_LARGE_ARRAY_SIZE) (version 24.3.12.76.altinitystable) (from [::1]:47578) (comment: 00725_memory_tracking.sql) (in query: SELECT length(range(100000000));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Columns/ColumnArray.cpp:140: DB::ColumnArray::get(unsigned long, DB::Field&) const @ 0x000000001bdaf79a 7. /build/src/Columns/ColumnConst.h:77: DB::ColumnConst::get(unsigned long, DB::Field&) const @ 0x0000000010a726f2 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6208: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bcdac 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:18.922490 [ 15113 ] {2c0971a4-d1a2-4e43-9636-9a2afcdabf01} TCPHandler: Code: 128. DB::Exception: Array of size 100000000 is too large to be manipulated as single field, maximum size 1000000: In scope SELECT length(range(100000000)). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000b9c41cc 6. /build/src/Columns/ColumnArray.cpp:140: DB::ColumnArray::get(unsigned long, DB::Field&) const @ 0x000000001bdaf79a 7. /build/src/Columns/ColumnConst.h:77: DB::ColumnConst::get(unsigned long, DB::Field&) const @ 0x0000000010a726f2 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6208: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bcdac 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:21.476620 [ 1337 ] {f182e87c-fd64-4f42-b47e-5ce3f6d878b5::all_0_0_1} f182e87c-fd64-4f42-b47e-5ce3f6d878b5::all_0_0_1 (MergeFromLogEntryTask): Code: 40. DB::Exception: Checksums of parts don't match: uncompressed hash of compressed files doesn't match (595110290e8bf003ae029f7df0fb57f9 vs 9f04764efc46fd1878d1d7dff5ca86ed). (CHECKSUM_DOESNT_MATCH) (version 24.3.12.76.altinitystable). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. List of files in local parts: count.txt: 1 (db7b13ffcb46ab2bbdf9b8450495b777) data.bin: 86 (8c0ff55b708ca4656c5ff3372fcccbb0) data.cmrk3: 58 (611df97826777252694ea30b8f2ce588) primary.cidx: 42 (10356a73f3f7cd67e05a9b5220efb901) 2025.03.05 21:49:22.478587 [ 15113 ] {a590ea50-9fee-40d7-9f94-36ca05a26e2a} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 24.3.12.76.altinitystable) (from [::1]:43928) (comment: 00716_allow_ddl.sql) (in query: CREATE DATABASE some_db;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019576aea 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x00000000195745c5 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>) const @ 0x000000001953e05d 9. /build/src/Access/ContextAccess.cpp:674: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d00 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1785: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fdf8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.479575 [ 15113 ] {a590ea50-9fee-40d7-9f94-36ca05a26e2a} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019576aea 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x00000000195745c5 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>) const @ 0x000000001953e05d 9. /build/src/Access/ContextAccess.cpp:674: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d00 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1785: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fdf8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.647693 [ 15113 ] {fd039a58-aa15-4cff-92fa-5ab0398aebe6} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 24.3.12.76.altinitystable) (from [::1]:43928) (comment: 00716_allow_ddl.sql) (in query: CREATE TABLE some_table(a Int32) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1785: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fdf8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.648818 [ 15113 ] {fd039a58-aa15-4cff-92fa-5ab0398aebe6} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1785: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fdf8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.814147 [ 15113 ] {a695d0b6-9dd8-4756-ba1a-61bedbca3e89} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 24.3.12.76.altinitystable) (from [::1]:43928) (comment: 00716_allow_ddl.sql) (in query: ALTER TABLE some_table DELETE WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:110: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7a11 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.815160 [ 15113 ] {a695d0b6-9dd8-4756-ba1a-61bedbca3e89} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:110: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7a11 16. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.976264 [ 15113 ] {c5e9f8d6-f24b-473c-a87d-f79ece9695a5} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 24.3.12.76.altinitystable) (from [::1]:43928) (comment: 00716_allow_ddl.sql) (in query: RENAME TABLE some_table TO some_table1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterRenameQuery.cpp:41: DB::InterpreterRenameQuery::execute() @ 0x000000001b4369b8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:22.977196 [ 15113 ] {c5e9f8d6-f24b-473c-a87d-f79ece9695a5} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001958c10a 7. /build/src/Access/ContextAccess.cpp:634: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000019589b05 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>, String const&) const @ 0x000000001958914c 9. /build/src/Access/ContextAccess.cpp:676: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d55 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterRenameQuery.cpp:41: DB::InterpreterRenameQuery::execute() @ 0x000000001b4369b8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:23.154126 [ 15113 ] {d22c3c4e-da46-43c2-b397-0eb6fbbf4f77} executeQuery: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED) (version 24.3.12.76.altinitystable) (from [::1]:43928) (comment: 00716_allow_ddl.sql) (in query: SET allow_ddl = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x00000000197468ba 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001974620d 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 10. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 11. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:23.155254 [ 15113 ] {d22c3c4e-da46-43c2-b397-0eb6fbbf4f77} TCPHandler: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x00000000197468ba 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001974620d 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 10. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 11. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:29.080882 [ 24254 ] {4d61a568-969d-457f-b139-f8d0d4094f88} executeQuery: Code: 407. DB::Exception: Decimal convert overflow while multiplying 123456789000000000 by scale -6101065173709551616: In scope SELECT toDecimal64(toDecimal64('1234567890', 8), 10). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64(toDecimal64('1234567890', 8), 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.081887 [ 24254 ] {4d61a568-969d-457f-b139-f8d0d4094f88} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow while multiplying 123456789000000000 by scale -6101065173709551616: In scope SELECT toDecimal64(toDecimal64('1234567890', 8), 10). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.316350 [ 24254 ] {c9a5cfa9-ea66-494b-8a2f-b5e1d92b18cb} executeQuery: Code: 407. DB::Exception: Decimal convert overflow while multiplying 123456780 by scale -539223888: In scope SELECT toDecimal32(toDecimal32('12345678', 1), 3). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32(toDecimal32('12345678', 1), 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f4200d 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48e05 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000addb33d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce453 10. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb98 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.317244 [ 24254 ] {c9a5cfa9-ea66-494b-8a2f-b5e1d92b18cb} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow while multiplying 123456780 by scale -539223888: In scope SELECT toDecimal32(toDecimal32('12345678', 1), 3). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f4200d 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48e05 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000addb33d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce453 10. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb98 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.334355 [ 24254 ] {808a4e8b-1dce-47ea-85b3-210601f363d0} executeQuery: Code: 407. DB::Exception: Decimal convert overflow while multiplying 922337203685477581 by scale -9223372036854775806: In scope SELECT toDecimal64(toDecimal64('92233720368547758.1', 1), 2). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64(toDecimal64('92233720368547758.1', 1), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.335186 [ 24254 ] {808a4e8b-1dce-47ea-85b3-210601f363d0} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow while multiplying 922337203685477581 by scale -9223372036854775806: In scope SELECT toDecimal64(toDecimal64('92233720368547758.1', 1), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.354681 [ 24254 ] {d391bd4e-7cb6-4bf6-aa3f-5ef2ee73524e} executeQuery: Code: 407. DB::Exception: Decimal convert overflow while multiplying -922337203685477581 by scale 9223372036854775806: In scope SELECT toDecimal64(toDecimal64('-92233720368547758.1', 1), 2). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64(toDecimal64('-92233720368547758.1', 1), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.355715 [ 24254 ] {d391bd4e-7cb6-4bf6-aa3f-5ef2ee73524e} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow while multiplying -922337203685477581 by scale 9223372036854775806: In scope SELECT toDecimal64(toDecimal64('-92233720368547758.1', 1), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/DataTypes/DataTypesDecimal.cpp:133: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f43fae 7. /build/src/DataTypes/DataTypesDecimal.cpp:185: DB::DataTypeDecimal>::FieldType DB::convertDecimals>, DB::DataTypeDecimal>>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int) @ 0x0000000019f48f85 8. /build/src/Functions/FunctionsConversion.cpp:1696: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf5d5d 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade84f3 10. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade59b8 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:29.554695 [ 24254 ] {c5bb6ca6-516e-4bbc-a3d3-ec3e29f071be} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, long&) @ 0x0000000019f4c040 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bf63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4eb3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab9d382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab991db 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab987f8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab983cd 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab977de 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:29.555664 [ 24254 ] {c5bb6ca6-516e-4bbc-a3d3-ec3e29f071be} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, long&) @ 0x0000000019f4c040 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bf63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4eb3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab9d382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab991db 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab987f8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab983cd 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab977de 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:29.575087 [ 24254 ] {0a4c4de4-77b3-4fe6-aa03-9019469dced9} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(-x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(-x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, long&) @ 0x0000000019f4c040 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bf63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4eb3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab9d382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab991db 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab987f8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab983cd 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab977de 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:29.576085 [ 24254 ] {0a4c4de4-77b3-4fe6-aa03-9019469dced9} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('9223372036854775809', 6) AS x, toInt64(-x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, long&) @ 0x0000000019f4c040 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bf63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4eb3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab9d382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab991db 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab987f8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab983cd 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab977de 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:29.913798 [ 24254 ] {5e7f6c5f-d031-48ca-92e8-4225e66a6d35} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('2147483649', 10) AS x, toInt32(x), toInt32(-x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('2147483649', 10) AS x, toInt32(x), toInt32(-x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, int&) @ 0x0000000019f49fe0 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bc23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e8bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab843e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab803bb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab7f9d8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7f5ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7e9be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:29.915175 [ 24254 ] {5e7f6c5f-d031-48ca-92e8-4225e66a6d35} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('2147483649', 10) AS x, toInt32(x), toInt32(-x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, int&) @ 0x0000000019f49fe0 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bc23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e8bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab843e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab803bb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab7f9d8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7f5ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7e9be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.160494 [ 24254 ] {74bb62e8-81b2-4d0f-8e14-1d65869e3295} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('2147483649', 2) AS x, toInt32(x), toInt32(-x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('2147483649', 2) AS x, toInt32(x), toInt32(-x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, int&) @ 0x0000000019f49eb9 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bbe3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e87f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab84042 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab8033b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab7f9b8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7f5ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7e9be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.161699 [ 24254 ] {74bb62e8-81b2-4d0f-8e14-1d65869e3295} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('2147483649', 2) AS x, toInt32(x), toInt32(-x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, int&) @ 0x0000000019f49eb9 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bbe3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e87f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab84042 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab8033b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab7f9b8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7f5ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab7e9be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.780500 [ 24254 ] {3e11b144-6588-4426-9266-9451d29bc0ff} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('-1', 7) AS x, toUInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.781641 [ 24254 ] {3e11b144-6588-4426-9266-9451d29bc0ff} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.945709 [ 24254 ] {c350dc1f-ba7d-4c39-9d47-c95edadd8c28} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('-1', 7) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:30.946652 [ 24254 ] {c350dc1f-ba7d-4c39-9d47-c95edadd8c28} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.128752 [ 24254 ] {87738798-59a5-43f4-a9b0-792a637aedd0} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('-1', 7) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.130131 [ 24254 ] {87738798-59a5-43f4-a9b0-792a637aedd0} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.305531 [ 24254 ] {f1cdc098-fb3d-4a1c-a4e2-de95e5667fc7} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt8(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('-1', 7) AS x, toUInt8(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, char8_t&) @ 0x0000000019f4b1c0 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4b0e3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e4ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabb5d7 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6bbb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab61d8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.306487 [ 24254 ] {f1cdc098-fb3d-4a1c-a4e2-de95e5667fc7} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('-1', 7) AS x, toUInt8(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, char8_t&) @ 0x0000000019f4b1c0 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4b0e3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e4ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabb5d7 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6bbb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab61d8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.464378 [ 24254 ] {a48e95e1-3dce-4d8b-bbd2-cd169d22dfb5} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('-1', 5) AS x, toUInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned long&) @ 0x0000000019f4c504 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c463 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4ec3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab07322 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab0347b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02af8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.465319 [ 24254 ] {a48e95e1-3dce-4d8b-bbd2-cd169d22dfb5} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned long&) @ 0x0000000019f4c504 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c463 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4ec3f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab07322 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab0347b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02af8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.626311 [ 24254 ] {74ade1a8-3fef-44a4-8778-e83105426e0b} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('-1', 5) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.627228 [ 24254 ] {74ade1a8-3fef-44a4-8778-e83105426e0b} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.790318 [ 24254 ] {1a3954c7-55f3-4cff-983b-1248584df90f} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('-1', 5) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.791492 [ 24254 ] {1a3954c7-55f3-4cff-983b-1248584df90f} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.943835 [ 24254 ] {d1e2319f-f4fa-457e-8028-2ae0251231f7} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt8(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('-1', 5) AS x, toUInt8(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, char8_t&) @ 0x0000000019f4b052 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4afa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e4bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabb164 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6b3b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab61b8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:31.945130 [ 24254 ] {d1e2319f-f4fa-457e-8028-2ae0251231f7} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('-1', 5) AS x, toUInt8(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, char8_t&) @ 0x0000000019f4b052 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4afa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e4bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabb164 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6b3b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab61b8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.109028 [ 24254 ] {adcde749-c5c5-43a0-a8dd-0e9d6fea37a5} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32('-1', 3) AS x, toUInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned long&) @ 0x0000000019f4c3e2 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c343 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4ebff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab06f62 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab033fb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02ad8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.110051 [ 24254 ] {adcde749-c5c5-43a0-a8dd-0e9d6fea37a5} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned long&) @ 0x0000000019f4c3e2 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c343 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4ebff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab06f62 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab033fb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02ad8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.264883 [ 24254 ] {6b54b7a3-4818-45b1-8722-a6cad93361b1} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32('-1', 3) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a2e2 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bce3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e97f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaedfe2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea5fb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cd8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.431399 [ 24805 ] {99e33aeb-9c16-4301-ac1f-98dfddb720d0} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.a :: 0, _CAST(2147483648_UInt32, 'UInt32'_String) :: 1) -> equals(__table1.a, _CAST(2147483648_UInt32, 'UInt32'_String)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37824) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt32(2147483648) AS x, a == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x000000000d58313f 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d5832b5 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d582741 9. /build/src/Core/DecimalComparison.h:0: auto DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5811f3 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d580f2c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x000000000d57751b 12. /build/src/Core/callOnTypeIndex.h:28: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3453f8 13. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d34300f 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:32.431451 [ 24254 ] {6b54b7a3-4818-45b1-8722-a6cad93361b1} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:326: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a2e2 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bce3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e97f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaedfe2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea5fb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cd8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.432900 [ 24805 ] {99e33aeb-9c16-4301-ac1f-98dfddb720d0} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.a :: 0, _CAST(2147483648_UInt32, 'UInt32'_String) :: 1) -> equals(__table1.a, _CAST(2147483648_UInt32, 'UInt32'_String)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x000000000d58313f 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d5832b5 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d582741 9. /build/src/Core/DecimalComparison.h:0: auto DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5811f3 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d580f2c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x000000000d57751b 12. /build/src/Core/callOnTypeIndex.h:28: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3453f8 13. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d34300f 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:32.599533 [ 24254 ] {e885a5e5-d62d-4639-9a30-13c259ca623e} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32('-1', 3) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f4992f 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4ba63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e6ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad50c2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad157b 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c58 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.780740 [ 24805 ] {56f9cdd7-2acd-4cdf-8330-ee23c4dbe606} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.b :: 0, _CAST(9223372036854775808_UInt64, 'UInt64'_String) :: 1) -> equals(__table1.b, _CAST(9223372036854775808_UInt64, 'UInt64'_String)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37824) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt64(9223372036854775808) AS x, b == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000d5d97ea 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000d5d99a6 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000d5d8ce3 9. /build/src/Core/DecimalComparison.h:0: auto DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5d7734 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d5d7473 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000d5c909b 12. /build/src/Core/callOnTypeIndex.h:29: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3456f2 13. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d343025 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:32.780737 [ 24254 ] {e885a5e5-d62d-4639-9a30-13c259ca623e} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f4992f 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4ba63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e6ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad50c2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad157b 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c58 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.782521 [ 24805 ] {56f9cdd7-2acd-4cdf-8330-ee23c4dbe606} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.b :: 0, _CAST(9223372036854775808_UInt64, 'UInt64'_String) :: 1) -> equals(__table1.b, _CAST(9223372036854775808_UInt64, 'UInt64'_String)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000d5d97ea 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000d5d99a6 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000d5d8ce3 9. /build/src/Core/DecimalComparison.h:0: auto DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5d7734 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d5d7473 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000d5c909b 12. /build/src/Core/callOnTypeIndex.h:29: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3456f2 13. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d343025 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:32.967814 [ 24254 ] {9a25b30a-5819-480c-b0b4-7dbea17e36af} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt8(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32('-1', 3) AS x, toUInt8(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, char8_t&) @ 0x0000000019f4af0f 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4ae63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e47f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabad03 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6abb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6198 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:32.969225 [ 24254 ] {9a25b30a-5819-480c-b0b4-7dbea17e36af} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal32('-1', 3) AS x, toUInt8(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, char8_t&) @ 0x0000000019f4af0f 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4ae63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e47f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt8, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aabad03 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aab6abb 11. /build/src/Core/callOnTypeIndex.h:195: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aab6198 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab5dad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt8, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aab51be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.224447 [ 24805 ] {a5fbae7f-d36f-4854-a826-25e0d8c98e14} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.g :: 0, 30000_UInt16 :: 1) -> equals(__table1.g, 30000_UInt16) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37824) (comment: 00700_decimal_compare.sql) (in query: SELECT g = 30000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x000000000d57e6cd 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d57e885 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d57d754 9. /build/src/Core/DecimalComparison.h:113: auto DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d57c9d3 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d57c72c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x000000000d57745b 12. /build/src/Core/callOnTypeIndex.h:27: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3453e1 13. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d34300f 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:33.224542 [ 24254 ] {70f9a1db-d984-4f2b-8fc6-610aa6aff48b} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('18446744073709551616', 0) AS x, toUInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('18446744073709551616', 0) AS x, toUInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.225627 [ 24254 ] {70f9a1db-d984-4f2b-8fc6-610aa6aff48b} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('18446744073709551616', 0) AS x, toUInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.226229 [ 24805 ] {a5fbae7f-d36f-4854-a826-25e0d8c98e14} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.g :: 0, 30000_UInt16 :: 1) -> equals(__table1.g, 30000_UInt16) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x000000000d57e6cd 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d57e885 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d57d754 9. /build/src/Core/DecimalComparison.h:113: auto DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d57c9d3 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d57c72c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x000000000d57745b 12. /build/src/Core/callOnTypeIndex.h:27: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3453e1 13. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d34300f 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:33.436235 [ 24805 ] {1bb8d814-61d2-49bc-9660-eed47d7dfb0c} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000_UInt16 :: 1, __table1.g :: 0) -> equals(30000_UInt16, __table1.g) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37824) (comment: 00700_decimal_compare.sql) (in query: SELECT 30000 = g FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x000000000d448ecd 7. /build/src/Core/DecimalComparison.h:312: void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d448fc5 8. /build/src/Core/DecimalComparison.h:190: COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d447905 9. /build/src/Core/DecimalComparison.h:111: auto DB::DecimalComparison, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d4474dc 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d44726c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000d44685b 12. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3435aa 13. /build/src/Core/callOnTypeIndex.h:97: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d342ebf 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:33.436319 [ 24254 ] {90cb6d57-7929-4dde-ada7-3fd13bd72764} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('18446744073709551616', 8) AS x, toUInt64(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('18446744073709551616', 8) AS x, toUInt64(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.437450 [ 24254 ] {90cb6d57-7929-4dde-ada7-3fd13bd72764} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('18446744073709551616', 8) AS x, toUInt64(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned long&) @ 0x0000000019f4c660 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4c583 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4ec7f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ab076e2 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ab034fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ab02b18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab026ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt64, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ab01afe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.438161 [ 24805 ] {1bb8d814-61d2-49bc-9660-eed47d7dfb0c} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000_UInt16 :: 1, __table1.g :: 0) -> equals(30000_UInt16, __table1.g) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x000000000d448ecd 7. /build/src/Core/DecimalComparison.h:312: void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000d448fc5 8. /build/src/Core/DecimalComparison.h:190: COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000d447905 9. /build/src/Core/DecimalComparison.h:111: auto DB::DecimalComparison, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d4474dc 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d44726c 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000d44685b 12. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3435aa 13. /build/src/Core/callOnTypeIndex.h:97: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d342ebf 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:33.497393 [ 24254 ] {a47852ec-acec-4583-a067-f296d30099b6} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('4294967296', 0) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('4294967296', 0) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.498619 [ 24254 ] {a47852ec-acec-4583-a067-f296d30099b6} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('4294967296', 0) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.552483 [ 24254 ] {30c633f9-a139-4dc6-878d-6696f5e235d7} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('4294967296', 10) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('4294967296', 10) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.553572 [ 24254 ] {30c633f9-a139-4dc6-878d-6696f5e235d7} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('4294967296', 10) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned int&) @ 0x0000000019f4a500 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd63 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e9ff 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee722 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea6fb 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9d18 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.802026 [ 24805 ] {a267fa0b-061f-4a97-82ab-4d48bc0e9357} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.h :: 0, 10000000000_UInt64 :: 1) -> equals(__table1.h, 10000000000_UInt64) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37824) (comment: 00700_decimal_compare.sql) (in query: SELECT h = 10000000000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000d5d9479 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000d5d9626 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000d5d84c3 9. /build/src/Core/DecimalComparison.h:113: auto DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5d7714 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d5d7473 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000d5c909b 12. /build/src/Core/callOnTypeIndex.h:29: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3456f2 13. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d343025 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:33.802213 [ 24254 ] {2d6251a0-4499-4900-ad46-32a716196f98} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('4294967296', 0) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('4294967296', 0) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.803630 [ 24254 ] {2d6251a0-4499-4900-ad46-32a716196f98} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('4294967296', 0) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:33.803831 [ 24805 ] {a267fa0b-061f-4a97-82ab-4d48bc0e9357} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(__table1.h :: 0, 10000000000_UInt64 :: 1) -> equals(__table1.h, 10000000000_UInt64) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalComparison.h:254: char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000d5d9479 7. /build/src/Core/DecimalComparison.h:296: void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000d5d9626 8. /build/src/Core/DecimalComparison.h:199: COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000d5d84c3 9. /build/src/Core/DecimalComparison.h:113: auto DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::applyWithScale::immutable_ptr, COW::immutable_ptr>(COW::immutable_ptr, COW::immutable_ptr, DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::Shift const&) @ 0x000000000d5d7714 10. /build/src/Core/DecimalComparison.h:75: DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000d5d7473 11. /build/src/Functions/FunctionsComparison.h:768: bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000d5c909b 12. /build/src/Core/callOnTypeIndex.h:29: bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d3456f2 13. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000d343025 14. /build/src/Functions/FunctionsComparison.h:773: DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000d360674 15. /build/src/Functions/FunctionsComparison.h:1365: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d349679 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 21. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 23. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 24. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 21:49:34.018845 [ 730 ] {1edc7888-c138-4cbe-8396-03217b62ffbf} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b30817c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b30746d 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b3070cc 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b30369a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d780a 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.018918 [ 24254 ] {bb2057b4-c525-4a3c-a090-cdd2060a362d} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('4294967296', 4) AS x, toUInt32(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('4294967296', 4) AS x, toUInt32(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.019806 [ 730 ] {1edc7888-c138-4cbe-8396-03217b62ffbf} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b30817c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b30746d 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b3070cc 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b30369a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d780a 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.020079 [ 24254 ] {bb2057b4-c525-4a3c-a090-cdd2060a362d} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('4294967296', 4) AS x, toUInt32(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned int&) @ 0x0000000019f4a3dd 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bd23 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e9bf 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aaee382 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aaea67b 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aae9cf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae98ed 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aae8cfe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.237734 [ 730 ] {b2fb80b6-18d8-40ce-88ff-978e3fbc732d} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b30a1dc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b3094cd 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b30912c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b30371a 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7821 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.237853 [ 24254 ] {fb7b3bff-e6c7-425d-89e4-c519663e6087} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('65536', 0) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('65536', 0) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.238797 [ 730 ] {b2fb80b6-18d8-40ce-88ff-978e3fbc732d} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b30a1dc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b3094cd 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b30912c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b30371a 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7821 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.239166 [ 24254 ] {fb7b3bff-e6c7-425d-89e4-c519663e6087} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('65536', 0) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.472489 [ 730 ] {2eb93e11-6da8-4620-ae0e-a09397a67bab} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000001b30c3bc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b30b690 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b30b2cc 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000001b30379a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7838 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.472557 [ 24254 ] {c9bc70e7-2eaa-4ff4-a1ac-844f1b4addb3} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('65536', 10) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128('65536', 10) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.473662 [ 730 ] {2eb93e11-6da8-4620-ae0e-a09397a67bab} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000001b30c3bc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b30b690 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b30b2cc 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000001b30379a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7838 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d0fef 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.473680 [ 24254 ] {c9bc70e7-2eaa-4ff4-a1ac-844f1b4addb3} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal128('65536', 10) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl>, void>(DB::Decimal> const&, unsigned int, unsigned short&) @ 0x0000000019f49b60 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4bae3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>>, DB::DataTypeNumber>(DB::DataTypeDecimal>>::FieldType const&, unsigned int) @ 0x0000000019f4e77f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5842 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad167b 11. /build/src/Core/callOnTypeIndex.h:197: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c98 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.698659 [ 730 ] {c663db23-3b7f-45ec-bdc0-a1b279fe6a9a} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b314b1c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b313e0d 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b313a6c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b31007a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7aaa 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:34.698733 [ 24254 ] {2ba297c5-47d9-4f51-a136-7ae36c50ec9e} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('65536', 0) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('65536', 0) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:34.882399 [ 27322 ] {fdab6f6f-979c-4a8b-b0d1-a7ed4bbd35e0} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37828) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarPop(a, a), covarPop(b, b), covarPop(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a4b271 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:34.882560 [ 730 ] {c663db23-3b7f-45ec-bdc0-a1b279fe6a9a} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b314b1c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b313e0d 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b313a6c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b31007a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7aaa 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:35.067084 [ 27699 ] {b2c80bea-c8ee-4f3b-b40a-8feb31eba98a} executeQuery: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mergeTreeIndex();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:35.067152 [ 24254 ] {2ba297c5-47d9-4f51-a136-7ae36c50ec9e} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('65536', 0) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:35.067343 [ 27322 ] {fdab6f6f-979c-4a8b-b0d1-a7ed4bbd35e0} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a4b271 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:35.069923 [ 27699 ] {b2c80bea-c8ee-4f3b-b40a-8feb31eba98a} TCPHandler: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:35.270560 [ 27322 ] {781b8da9-48cb-422d-9213-6e003642e3e4} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37828) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarSamp(a, a), covarSamp(b, b), covarSamp(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a4b031 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:35.448844 [ 730 ] {fcb515ca-f757-4079-a75f-62a7848c1f58} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b316cbc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b315fad 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b315c0c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b3100fa 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7ac1 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:35.628492 [ 27699 ] {41a8ebb5-729e-4d6f-9345-1369b33bc8a6} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '_CAST(NULL, 'Nullable(Nothing)')'. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs([isNotDistinctFrom(( SELECT * FROM viewExplain(NULL, NULL) ) AS okcyrp, ( SELECT JSONExtractBool() ) AS gzopbnb)], [( SELECT * FROM odbc(( SELECT hasSubstr(MAP_FROM_ARRAYS()) ) AS v, ( SELECT multiSearchAllPositions() ) AS yomw, '\0') ) , ( SELECT NULL, ( SELECT * FROM gcs('\0') ) , '', [], (CAST(('\0') AS Date)) ) ]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionExplain.cpp:81: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9335 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:35.628567 [ 730 ] {fcb515ca-f757-4079-a75f-62a7848c1f58} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000001b316cbc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b315fad 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b315c0c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000001b3100fa 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7ac1 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:35.628501 [ 24254 ] {cf75f5e3-b0e1-44c1-bd84-94a7f5a96196} executeQuery: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('65536', 4) AS x, toUInt16(x). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64('65536', 4) AS x, toUInt16(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:35.628511 [ 27322 ] {781b8da9-48cb-422d-9213-6e003642e3e4} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a4b031 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:35.629642 [ 24254 ] {cf75f5e3-b0e1-44c1-bd84-94a7f5a96196} TCPHandler: Code: 407. DB::Exception: Convert overflow: In scope SELECT toDecimal64('65536', 4) AS x, toUInt16(x). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl, void>(DB::Decimal const&, unsigned int, unsigned short&) @ 0x0000000019f49a32 7. /build/src/DataTypes/DataTypesDecimal.cpp:216: void DB::convertFromDecimalImpl>, DB::DataTypeNumber, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x0000000019f4baa3 8. /build/src/DataTypes/DataTypesDecimal.cpp:236: DB::DataTypeNumber::FieldType DB::convertFromDecimal>, DB::DataTypeNumber>(DB::DataTypeDecimal>::FieldType const&, unsigned int) @ 0x0000000019f4e73f 9. /build/src/Functions/FunctionsConversion.cpp:1698: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl>, DB::DataTypeNumber, DB::(anonymous namespace)::NameToUInt16, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000aad5482 10. /build/src/Functions/FunctionsConversion.cpp:2259: bool DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>, DB::DataTypeNumber>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000aad15fb 11. /build/src/Core/callOnTypeIndex.h:196: bool DB::callOnIndexAndDataType, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000aad0c78 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aad086d 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToUInt16, DB::(anonymous namespace)::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aacfc7e 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:35.631625 [ 27699 ] {41a8ebb5-729e-4d6f-9345-1369b33bc8a6} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires a String argument for EXPLAIN kind, got '_CAST(NULL, 'Nullable(Nothing)')'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionExplain.cpp:81: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9335 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:35.828380 [ 27699 ] {50d1df8b-2c08-4be5-84ba-38ce540bdbd3} executeQuery: Code: 42. DB::Exception: Invalid number of arguments for function hasColumnInTable: In scope SELECT hasColumnInTable(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasColumnInTable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/hasColumnInTable.cpp:69: DB::(anonymous namespace)::FunctionHasColumnInTable::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e55c64e 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:35.984618 [ 27322 ] {7c94ee93-a50f-4633-a1ba-97fb99b211af} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37828) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT corr(a, a), corr(b, b), corr(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014b11ef1 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:36.204275 [ 730 ] {41d7e48c-6b1e-4f52-956f-5f3e25282165} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000001b318e5c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b318110 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b317d4c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000001b31017a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7ad8 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:36.379899 [ 27699 ] {50d1df8b-2c08-4be5-84ba-38ce540bdbd3} TCPHandler: Code: 42. DB::Exception: Invalid number of arguments for function hasColumnInTable: In scope SELECT hasColumnInTable(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/hasColumnInTable.cpp:69: DB::(anonymous namespace)::FunctionHasColumnInTable::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e55c64e 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:36.379914 [ 24254 ] {876923f0-13e4-4da1-9081-bda52375c17c} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: 2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toInt64('2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toInt64('2147483649') AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5063d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f549ff 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add78ff 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcd733 11. /build/src/Core/callOnTypeIndex.h:188: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbaf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:36.534425 [ 27704 ] {7eb4389b-846d-4856-a055-f1c79a57608b} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED) (version 24.3.12.76.altinitystable) (from [::1]:42010) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE summing_r1 ADD COLUMN t UInt32 AFTER z, MODIFY ORDER BY (x, y, t * t) SETTINGS replication_alter_partitions_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001c5d6828 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6738: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000001c5679a2 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6757: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001c54d45c 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:6288: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552b68 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:36.534482 [ 27322 ] {7c94ee93-a50f-4633-a1ba-97fb99b211af} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:266: std::shared_ptr DB::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014b11ef1 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:36.534525 [ 730 ] {41d7e48c-6b1e-4f52-956f-5f3e25282165} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000001b318e5c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b318110 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b317d4c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000001b31017a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7ad8 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d1005 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:36.534679 [ 24254 ] {876923f0-13e4-4da1-9081-bda52375c17c} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: 2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toInt64('2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5063d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f549ff 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add78ff 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcd733 11. /build/src/Core/callOnTypeIndex.h:188: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbaf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:36.535612 [ 27704 ] {7eb4389b-846d-4856-a055-f1c79a57608b} TCPHandler: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001c5d6828 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6738: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000001c5679a2 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6757: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001c54d45c 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:6288: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552b68 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:36.552334 [ 24254 ] {b8738027-6034-48c7-abee-d0035e437fe3} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: -2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toInt64('-2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toInt64('-2147483649') AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5063d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f549ff 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add78ff 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcd733 11. /build/src/Core/callOnTypeIndex.h:188: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbaf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:36.553221 [ 24254 ] {b8738027-6034-48c7-abee-d0035e437fe3} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: -2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toInt64('-2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f425b4 7. /build/src/DataTypes/DataTypesDecimal.cpp:303: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f5063d 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f549ff 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add78ff 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcd733 11. /build/src/Core/callOnTypeIndex.h:188: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbaf8 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:36.732826 [ 27699 ] {fee81f1e-80ce-4228-a537-cc97700d911d} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDate32OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT toDate32OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDate32OrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aee6e63 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:36.924078 [ 24254 ] {508ee7e5-21c0-4719-b89c-11946f4cf69b} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: 2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toUInt64('2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toUInt64('2147483649') AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f42c3b 7. /build/src/DataTypes/DataTypesDecimal.cpp:301: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50702 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54a3f 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add333f 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcc773 11. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcba47 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:37.111280 [ 27699 ] {fee81f1e-80ce-4228-a537-cc97700d911d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDate32OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT toDate32OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aee6e63 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:37.111341 [ 730 ] {f44ede88-a102-486b-99ca-f7935bd9530a} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000001b32165c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b320913 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32056c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000001b31cb7a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d4a 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:37.111350 [ 24254 ] {508ee7e5-21c0-4719-b89c-11946f4cf69b} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: 2147483649 is not in range (-2147483648, 2147483647): In scope SELECT toUInt64('2147483649') AS x, toDecimal32(x, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f42c3b 7. /build/src/DataTypes/DataTypesDecimal.cpp:301: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50702 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54a3f 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000add333f 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adcc773 11. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcba47 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:37.112322 [ 730 ] {f44ede88-a102-486b-99ca-f7935bd9530a} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000001b32165c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b320913 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32056c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000001b31cb7a 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d4a 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:37.309315 [ 27699 ] {ef5bb234-7a7b-4ebb-82e6-57fc21d9c2fa} executeQuery: Code: 42. DB::Exception: FuzzJSON requires 1 to 2 arguments: json_str, random_seed. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM fuzzJSON();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageFuzzJSON.cpp:694: DB::StorageFuzzJSON::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001c398793 7. /build/src/TableFunctions/TableFunctionFuzzJSON.cpp:26: DB::TableFunctionFuzzJSON::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d7512a 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:37.497677 [ 730 ] {117eb1b8-57a4-4659-a66b-d2cae0d89ec7} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000001b32355c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b322813 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32246c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000001b31cbfa 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d61 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:37.681145 [ 27699 ] {ef5bb234-7a7b-4ebb-82e6-57fc21d9c2fa} TCPHandler: Code: 42. DB::Exception: FuzzJSON requires 1 to 2 arguments: json_str, random_seed. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageFuzzJSON.cpp:694: DB::StorageFuzzJSON::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001c398793 7. /build/src/TableFunctions/TableFunctionFuzzJSON.cpp:26: DB::TableFunctionFuzzJSON::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d7512a 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:37.681187 [ 24254 ] {902dc1b1-c461-4235-9422-fe229832a1c7} executeQuery: Code: 407. DB::Exception: Decimal convert overflow: 9223372036854775809 is not in range (-9223372036854775808, 9223372036854775807): In scope SELECT toUInt64('9223372036854775809') AS x, toDecimal64(x, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toUInt64('9223372036854775809') AS x, toDecimal64(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f4461f 7. /build/src/DataTypes/DataTypesDecimal.cpp:301: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f516a2 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54dbf 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000aded13f 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade6573 11. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5847 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:37.681222 [ 730 ] {117eb1b8-57a4-4659-a66b-d2cae0d89ec7} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000001b32355c 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b322813 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32246c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000001b31cbfa 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d61 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:37.682194 [ 24254 ] {902dc1b1-c461-4235-9422-fe229832a1c7} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow: 9223372036854775809 is not in range (-9223372036854775808, 9223372036854775807): In scope SELECT toUInt64('9223372036854775809') AS x, toDecimal64(x, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/DataTypes/DataTypesDecimal.cpp:154: void DB::convertDecimalsImpl>>, DB::DataTypeDecimal>, void>(DB::DataTypeDecimal>>::FieldType const&, unsigned int, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f4461f 7. /build/src/DataTypes/DataTypesDecimal.cpp:301: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f516a2 8. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54dbf 9. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000aded13f 10. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade6573 11. /build/src/Core/callOnTypeIndex.h:181: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5847 12. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 13. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 14. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 16. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 17. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 18. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 19. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 20. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:49:37.922755 [ 24254 ] {d000ce5e-c964-459b-8bcf-00cb048a86a2} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32, expected const Integer, got UInt64: In scope SELECT toDecimal32(0, rowNumberInBlock()). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32(0, rowNumberInBlock());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ade3be0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ade3ae0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ade3a9d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ade3a5d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ade3a1d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ade39e5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ade381b 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adcb31a 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:38.092493 [ 27699 ] {d2450cfc-6871-4eb2-9f48-7949b7a246b1} executeQuery: Code: 35. DB::Exception: Function wordShingleSimHashCaseInsensitiveUTF8 expect at least one argument: In scope SELECT * FROM url(partitionId(wordShingleSimHashCaseInsensitiveUTF8())). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url(partitionId(wordShingleSimHashCaseInsensitiveUTF8()));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b6ff678 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:49:38.286065 [ 730 ] {09820996-ce38-4f0b-ab64-3307f49afb98} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44008) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000001b3254bc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b324753 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32438c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000001b31cc7a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d78 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:38.286149 [ 24254 ] {d000ce5e-c964-459b-8bcf-00cb048a86a2} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32, expected const Integer, got UInt64: In scope SELECT toDecimal32(0, rowNumberInBlock()). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ade3be0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ade3ae0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ade3a9d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ade3a5d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ade3a1d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ade39e5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ade381b 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adcb31a 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:38.286508 [ 27699 ] {d2450cfc-6871-4eb2-9f48-7949b7a246b1} TCPHandler: Code: 35. DB::Exception: Function wordShingleSimHashCaseInsensitiveUTF8 expect at least one argument: In scope SELECT * FROM url(partitionId(wordShingleSimHashCaseInsensitiveUTF8())). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashCaseInsensitiveUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b6ff678 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:49:38.287229 [ 730 ] {09820996-ce38-4f0b-ab64-3307f49afb98} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/if.cpp:378: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000001b3254bc 7. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000001b324753 8. /build/src/Functions/if.cpp:581: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b32438c 9. /build/src/Functions/if.cpp:1343: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000001b31cc7a 10. /build/src/Core/callOnTypeIndex.h:54: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d7d78 11. /build/src/Core/callOnTypeIndex.h:124: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000001b1d101b 12. /build/src/Functions/if.cpp:1369: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001b1cce05 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 17. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 18. /build/src/Interpreters/ActionsDAG.cpp:662: DB::executeActionForPartialResult(DB::ActionsDAG::Node const*, std::vector>, unsigned long) @ 0x000000001a43af67 19. /build/src/Interpreters/ActionsDAG.cpp:829: DB::ActionsDAG::evaluatePartialResult(std::unordered_map, std::equal_to, std::allocator>>&, std::vector> const&, unsigned long, bool) @ 0x000000001a43ab9e 20. /build/src/Interpreters/ActionsDAG.cpp:739: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001a43a080 21. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001da40fd1 22. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001dce3f26 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b4665d1 24. /build/src/Planner/Planner.cpp:336: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b51211a 25. /build/src/Planner/Planner.cpp:1567: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f68d 26. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 28. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:38.529239 [ 24254 ] {4aaa91eb-bc4c-4cb9-b172-0cdb2d17ec13} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal64, expected const Integer, got UInt64: In scope SELECT toDecimal64(0, rowNumberInBlock()). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64(0, rowNumberInBlock());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000adfdb80 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000adfda80 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adfda3d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adfd9fd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adfd9bd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adfd985 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000adfd7bb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ade511a 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:38.689598 [ 27699 ] {83236434-a264-4889-aa84-de0d164970bd} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument of function IPv4CIDRToRange, expected IPv4 or UInt8 or UInt16 or UInt32: In scope SELECT IPv4CIDRToRange('', []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT IPv4CIDRToRange('', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingIP.cpp:986: DB::FunctionIPv4CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000aa35a34 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:38.689649 [ 24254 ] {4aaa91eb-bc4c-4cb9-b172-0cdb2d17ec13} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal64, expected const Integer, got UInt64: In scope SELECT toDecimal64(0, rowNumberInBlock()). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000adfdb80 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000adfda80 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adfda3d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adfd9fd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adfd9bd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adfd985 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000adfd7bb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ade511a 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:38.691950 [ 27699 ] {83236434-a264-4889-aa84-de0d164970bd} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument of function IPv4CIDRToRange, expected IPv4 or UInt8 or UInt16 or UInt32: In scope SELECT IPv4CIDRToRange('', []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsCodingIP.cpp:986: DB::FunctionIPv4CIDRToRange::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000aa35a34 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:38.925320 [ 24254 ] {67d77f96-6338-4405-8fca-9dd8ac6d4dc4} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: In scope SELECT toDecimal128(0, rowNumberInBlock()). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128(0, rowNumberInBlock());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ae182a0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ae181a0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ae1815d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ae1811d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ae180dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ae180a5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ae17edb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adff0ba 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:39.099300 [ 27699 ] {1f89168d-fa13-4431-bada-e7381bdb2965} executeQuery: Code: 42. DB::Exception: Table function 'generate_series' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generate_series([['\0']]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:72: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a908 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:39.099328 [ 24254 ] {67d77f96-6338-4405-8fca-9dd8ac6d4dc4} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: In scope SELECT toDecimal128(0, rowNumberInBlock()). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ae182a0 9. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ae181a0 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ae1815d 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ae1811d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ae180dd 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ae180a5 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 16. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ae17edb 17. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000adff0ba 18. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 19. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 20. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 21. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:39.101661 [ 27699 ] {1f89168d-fa13-4431-bada-e7381bdb2965} TCPHandler: Code: 42. DB::Exception: Table function 'generate_series' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:72: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a908 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:39.316233 [ 24254 ] {66931b3d-7e68-4bae-ae44-a7b27f8623a5} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal32(1 / 0, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal32(1/0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:39.316299 [ 27699 ] {45059247-e83c-4b65-b5f2-32cf414f7aea} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 0, should be 3: In scope SELECT distanceLp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT distanceLp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:39.317660 [ 24254 ] {66931b3d-7e68-4bae-ae44-a7b27f8623a5} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal32(1 / 0, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:39.319170 [ 27699 ] {45059247-e83c-4b65-b5f2-32cf414f7aea} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpDistance doesn't match: passed 0, should be 3: In scope SELECT distanceLp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:39.521156 [ 24254 ] {ef136296-3cc9-4a27-8dbd-3baf9fbcab92} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal64(1 / 0, 1). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal64(1/0, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:39.699892 [ 27699 ] {988a68fa-df0b-42b2-a404-7fe1b8402ef3} executeQuery: Code: 36. DB::Exception: Argument 'table_name_regexp' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge(not(NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionMerge.cpp:103: DB::(anonymous namespace)::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d0f121 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:39.699948 [ 24254 ] {ef136296-3cc9-4a27-8dbd-3baf9fbcab92} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal64(1 / 0, 1). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:39.701956 [ 27699 ] {988a68fa-df0b-42b2-a404-7fe1b8402ef3} TCPHandler: Code: 36. DB::Exception: Argument 'table_name_regexp' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionMerge.cpp:103: DB::(anonymous namespace)::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d0f121 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:39.903321 [ 24254 ] {9101bd32-52e9-4c3a-8269-59a7620806c9} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal128(0 / 0, 2). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT toDecimal128(0/0, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:40.055882 [ 27699 ] {c8039d7d-9248-43c7-a0bb-25b38137a8bf} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantilesGK. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantilesGK('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:533: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e331b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:40.056041 [ 24254 ] {9101bd32-52e9-4c3a-8269-59a7620806c9} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT toDecimal128(0 / 0, 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:40.058283 [ 27699 ] {c8039d7d-9248-43c7-a0bb-25b38137a8bf} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantilesGK. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileGK.cpp:533: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000146e331b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:40.076781 [ 27699 ] {7f9b14bd-bb31-4093-bf33-15ef88ddf72f} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictIsIn doesn't match: passed 0, should be 3: In scope SELECT dictIsIn(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictIsIn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:40.078855 [ 27699 ] {7f9b14bd-bb31-4093-bf33-15ef88ddf72f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictIsIn doesn't match: passed 0, should be 3: In scope SELECT dictIsIn(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:40.257769 [ 27699 ] {c4438ea2-dc42-4829-bfdc-5aa163cd0238} executeQuery: Code: 42. DB::Exception: Number of arguments for function __actionName doesn't match: passed 0, should be 2: In scope SELECT __actionName(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT __actionName();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:40.257771 [ 24254 ] {b6cf35d7-a343-432a-8020-7ac6b5abf04d} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(9, 0)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(1/0, 'Decimal(9, 0)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac1f3df 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac1309e 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11c00 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.258784 [ 24254 ] {b6cf35d7-a343-432a-8020-7ac6b5abf04d} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(9, 0)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac1f3df 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac1309e 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11c00 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.259648 [ 27699 ] {c4438ea2-dc42-4829-bfdc-5aa163cd0238} TCPHandler: Code: 42. DB::Exception: Number of arguments for function __actionName doesn't match: passed 0, should be 2: In scope SELECT __actionName(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:40.426611 [ 24254 ] {24046bff-93c6-4f3a-b972-b91847278593} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(18, 1)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(1/0, 'Decimal(18, 1)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac3541f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac290de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac27c40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac2787c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac277c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac27760 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac27700 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac276ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.592641 [ 27699 ] {f3cbf8d3-ccec-470f-92a4-97011d1ec0bf} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 0, should be 2: In scope SELECT CAST(visitParamExtractUInt(), 'Date'), 27381.697. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((visitParamExtractUInt()) AS Date)), 27381.697;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:40.592757 [ 24254 ] {24046bff-93c6-4f3a-b972-b91847278593} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(18, 1)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac3541f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac290de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac27c40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac2787c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac277c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac27760 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac27700 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac276ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.594781 [ 27699 ] {f3cbf8d3-ccec-470f-92a4-97011d1ec0bf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractUInt doesn't match: passed 0, should be 2: In scope SELECT CAST(visitParamExtractUInt(), 'Date'), 27381.697. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:40.775016 [ 24254 ] {0ed76a1f-85a7-43ec-aee0-6dfa31217ece} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(38, 2)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(1/0, 'Decimal(38, 2)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac4ba3f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator(), DB::DataTypeDecimal>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000ac3f1de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000ac3dd40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac3d97c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac3d8c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac3d860 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac3d800 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac3d7ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.933141 [ 27699 ] {9a33afe4-01d5-46f7-a84a-8421729685bc} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function multiMatchAny: In scope (SELECT multiMatchAny('\0', '@ 5/N*g')) AS dxroa. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIntervalMicrosecond([], ( SELECT multiMatchAny('\0', '@ 5/N*g') ) AS dxroa, ( SELECT * FROM format('4W\?_') ) AS wxaywo);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001b3f6be8 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:40.933138 [ 24254 ] {0ed76a1f-85a7-43ec-aee0-6dfa31217ece} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(1 / 0, 'Decimal(38, 2)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac4ba3f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator(), DB::DataTypeDecimal>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000ac3f1de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000ac3dd40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac3d97c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac3d8c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac3d860 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac3d800 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac3d7ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:40.935200 [ 27699 ] {9a33afe4-01d5-46f7-a84a-8421729685bc} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function multiMatchAny: In scope (SELECT multiMatchAny('\0', '@ 5/N*g')) AS dxroa. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsMultiStringSearch.h:78: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001b3f6be8 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:40.956468 [ 24254 ] {5b2004e0-af74-4ba2-9d4b-b752d7612fa3} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(9, 3)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(0/0, 'Decimal(9, 3)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac1f3df 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac1309e 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11c00 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.124833 [ 27699 ] {b5d17373-9b31-4792-800f-8be0f4dd95bb} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster(NULL, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionCluster.h:58: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d881fd 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d87eb7 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:41.124945 [ 24254 ] {5b2004e0-af74-4ba2-9d4b-b752d7612fa3} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(9, 3)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50ea5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac1f3df 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac1309e 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac11c00 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac1183c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac11786 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac11720 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac116c0 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac1166b 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.127233 [ 27699 ] {b5d17373-9b31-4792-800f-8be0f4dd95bb} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionCluster.h:58: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d881fd 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d87eb7 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:41.142216 [ 24254 ] {2a515647-5494-41d0-b6cf-4e642a62b66a} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(18, 4)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(0/0, 'Decimal(18, 4)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac3541f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac290de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac27c40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac2787c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac277c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac27760 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac27700 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac276ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.143183 [ 24254 ] {2a515647-5494-41d0-b6cf-4e642a62b66a} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(18, 4)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51e68 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac3541f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)::operator(), DB::DataTypeDecimal>>>(DB::DataTypeDecimal> const&) const @ 0x000000000ac290de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal> const&)&&) @ 0x000000000ac27c40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac2787c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac277c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac27760 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac27700 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac276ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.305055 [ 27699 ] {ea45dc03-2896-4ffc-a054-bc6fcb13357b} executeQuery: Code: 42. DB::Exception: Number of arguments for function leftPadUTF8 doesn't match: passed 0, should be 2 or 3: In scope (SELECT * FROM file(leftPadUTF8(), CAST(NULL, 'DateTime'))) AS lnbwzof. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', ['w%e.`#+L'], NULL, [( SELECT * FROM file(leftPadUTF8(), (CAST((NULL) AS DateTime))) ) AS lnbwzof], 29756293;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/Functions/padString.cpp:165: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010e94731 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:41.305080 [ 24254 ] {dd925ec4-e60c-4ca5-bd3f-b43d8b6602f3} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(38, 5)'). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: SELECT CAST(0/0, 'Decimal(38, 5)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac4ba3f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator(), DB::DataTypeDecimal>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000ac3f1de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000ac3dd40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac3d97c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac3d8c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac3d860 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac3d800 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac3d7ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.306584 [ 24254 ] {dd925ec4-e60c-4ca5-bd3f-b43d8b6602f3} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Cannot convert infinity or NaN to decimal: In scope SELECT CAST(0 / 0, 'Decimal(38, 5)'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:277: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f52f08 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::FunctionCastName, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ac4ba3f 9. /build/src/Functions/FunctionsConversion.cpp:3418: bool std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)::operator(), DB::DataTypeDecimal>>>>(DB::DataTypeDecimal>> const&) const @ 0x000000000ac3f1de 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)>(DB::TypeIndex, std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const::'lambda'(DB::DataTypeDecimal>> const&)&&) @ 0x000000000ac3dd40 11. /build/src/Functions/FunctionsConversion.cpp:3377: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::(anonymous namespace)::FunctionCast::createDecimalWrapper>>>(std::shared_ptr const&, DB::DataTypeDecimal>> const*, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000ac3d97c 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ac3d8c6 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ac3d860 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ac3d800 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ac3d7ab 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 18. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 19. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 20. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 21. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 22. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 23. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 24. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 2025.03.05 21:49:41.307495 [ 27699 ] {ea45dc03-2896-4ffc-a054-bc6fcb13357b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function leftPadUTF8 doesn't match: passed 0, should be 2 or 3: In scope (SELECT * FROM file(leftPadUTF8(), CAST(NULL, 'DateTime'))) AS lnbwzof. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/Functions/padString.cpp:165: DB::(anonymous namespace)::FunctionPadString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010e94731 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:41.522759 [ 27699 ] {384d0918-27b4-4328-b454-134bc7d6602a} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis('@W-,E', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:41.717863 [ 27699 ] {384d0918-27b4-4328-b454-134bc7d6602a} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:41.717870 [ 24254 ] {2f45c943-2415-4755-bf15-e23b5794bca5} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(10000.1, 6). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal32(10000.1, 6);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:41.719001 [ 24254 ] {2f45c943-2415-4755-bf15-e23b5794bca5} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(10000.1, 6). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:41.919638 [ 24254 ] {2291e4ea-2ddd-4676-b130-0117f7e9a5f6} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(10000.1, 18). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal64(10000.1, 18);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.118453 [ 27699 ] {06ca1370-7595-47f8-827e-c3df884714b7} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:42.118443 [ 24254 ] {2291e4ea-2ddd-4676-b130-0117f7e9a5f6} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(10000.1, 18). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.121195 [ 27699 ] {06ca1370-7595-47f8-827e-c3df884714b7} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:42.339910 [ 24254 ] {1fa80f0d-775a-4575-8f44-771835834485} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(1e21, 18). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal128(1000000000000000000000.1, 18);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.340034 [ 27699 ] {cbd27f2d-607b-45a7-9c12-7122479ae400} executeQuery: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: In scope SELECT CAST('', 'DateTime'), [], groupArrayMovingAvg('', (SELECT * FROM input('+),4>d')) AS roxfc, (SELECT ngramMinHashArg(-570079, ' j8')) AS c). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS DateTime)), [], groupArrayMovingAvg('', ( SELECT * FROM input('+),4>d') ) AS roxfc, ( SELECT ngramMinHashArg(-570079, ' j8') ) AS c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:49:42.340817 [ 24254 ] {1fa80f0d-775a-4575-8f44-771835834485} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(1e21, 18). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.342880 [ 27699 ] {cbd27f2d-607b-45a7-9c12-7122479ae400} TCPHandler: Code: 41. DB::Exception: Cannot parse DateTime: Cannot parse DateTime from String: In scope SELECT CAST('', 'DateTime'), [], groupArrayMovingAvg('', (SELECT * FROM input('+),4>d')) AS roxfc, (SELECT ngramMinHashArg(-570079, ' j8')) AS c). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1342: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000013377c18 7. /build/src/IO/ReadHelpers.h:1057: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc5c88 8. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 9. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 10. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 11. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 12. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 13. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 14. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 15. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 17. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 21. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 28. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 29. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 30. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 31. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 2025.03.05 21:49:42.358565 [ 24254 ] {d0177fb1-8eb4-481d-aafc-84866a8d5ae6} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(-10000.1, 6). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal32(-10000.1, 6);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.359661 [ 24254 ] {d0177fb1-8eb4-481d-aafc-84866a8d5ae6} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(-10000.1, 6). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.541120 [ 24254 ] {33d33b16-ebb9-47a2-a06d-daffdc58e044} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(-10000.1, 18). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal64(-10000.1, 18);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.541544 [ 27699 ] {50c2960f-4c3d-414f-8dd4-a54efaec2d87} executeQuery: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:74: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d25b5c 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:42.542276 [ 24254 ] {33d33b16-ebb9-47a2-a06d-daffdc58e044} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(-10000.1, 18). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.543648 [ 27699 ] {50c2960f-4c3d-414f-8dd4-a54efaec2d87} TCPHandler: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:74: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d25b5c 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:42.558398 [ 24254 ] {b82c427e-ba94-4500-99aa-28759a9712ab} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(-1e21, 18). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal128(-1000000000000000000000.1, 18);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.559472 [ 24254 ] {b82c427e-ba94-4500-99aa-28759a9712ab} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(-1e21, 18). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.578204 [ 24254 ] {d141e6be-6ef4-4736-a936-c25f49d42c73} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(2147483647. + 1., 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal32(2147483647.0 + 1.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.579071 [ 24254 ] {d141e6be-6ef4-4736-a936-c25f49d42c73} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(2147483647. + 1., 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.594212 [ 27699 ] {0d432ea6-5cc4-4aa8-8444-3486d2f991db} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasToken doesn't match: passed 0, should be 2: In scope SELECT hasToken(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasToken();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:42.596006 [ 24254 ] {66ced314-30c2-41b4-b2cc-46cebe6dd84a} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(9223372036854776000., 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal64(9223372036854775807.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.596191 [ 27699 ] {0d432ea6-5cc4-4aa8-8444-3486d2f991db} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasToken doesn't match: passed 0, should be 2: In scope SELECT hasToken(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:42.597072 [ 24254 ] {66ced314-30c2-41b4-b2cc-46cebe6dd84a} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(9223372036854776000., 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.612848 [ 24254 ] {be0bc731-b02e-44b2-a743-5cbb83e910fd} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(1.7014118346046923e38, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal128(170141183460469231731687303715884105729.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.613648 [ 24254 ] {be0bc731-b02e-44b2-a743-5cbb83e910fd} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(1.7014118346046923e38, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.626049 [ 27699 ] {7be1cf04-da3b-41f8-8d6a-198df9ed67d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt256 doesn't match: passed 2, should be 1: In scope SELECT [reinterpretAsUInt256(CAST('\0', 'String'), '')], CAST(CAST(-26, 'DateTime'), 'DateTime'), trimBoth(ngramMinHashUTF8()), NULL. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [reinterpretAsUInt256((CAST(('\0') AS String)), '')], (CAST(((CAST((-26) AS DateTime))) AS DateTime)), trim(ngramMinHashUTF8()), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:42.628521 [ 27699 ] {7be1cf04-da3b-41f8-8d6a-198df9ed67d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt256 doesn't match: passed 2, should be 1: In scope SELECT [reinterpretAsUInt256(CAST('\0', 'String'), '')], CAST(CAST(-26, 'DateTime'), 'DateTime'), trimBoth(ngramMinHashUTF8()), NULL. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:42.629614 [ 24254 ] {15cb9761-da23-45b1-888b-3791f03d6c3e} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(-2147483647. - 1., 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal32(-2147483647.0 - 1.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.630613 [ 24254 ] {15cb9761-da23-45b1-888b-3791f03d6c3e} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal32(-2147483647. - 1., 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f50fb5 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54bbf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal32, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adda77f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000adce1b3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adcbb78 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcb7ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal32, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adcabbe 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.644771 [ 24254 ] {96fbf673-12ed-489a-8a04-17d9cc6e0203} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(-9223372036854776000., 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal64(-9223372036854775807.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.645576 [ 24254 ] {96fbf673-12ed-489a-8a04-17d9cc6e0203} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal64(-9223372036854776000., 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>::FieldType&) @ 0x0000000019f51f83 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f54f3f 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>, DB::(anonymous namespace)::NameToDecimal64, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000adf457f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ade7fb3 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ade5978 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade55ad 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>, DB::(anonymous namespace)::NameToDecimal64, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ade49be 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.820500 [ 27699 ] {18e73493-a78f-44fe-af25-747766cfc4ac} executeQuery: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 2, should be 1: In scope (SELECT ln('\0', [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT ln('\0', []) ) , ( SELECT today() ) AS kxs, -57233, -397555.19;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:49:42.820595 [ 24254 ] {9636642e-6a89-41b2-9386-424b999a4ad5} executeQuery: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(-1.7014118346046923e38, 0). (DECIMAL_OVERFLOW) (version 24.3.12.76.altinitystable) (from [::1]:37818) (comment: 00700_decimal_casts_2.sql) (in query: select toDecimal128(-170141183460469231731687303715884105729.0, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.821545 [ 24254 ] {9636642e-6a89-41b2-9386-424b999a4ad5} TCPHandler: Code: 407. DB::Exception: Decimal convert overflow. Float is out of Decimal range: In scope SELECT toDecimal128(-1.7014118346046923e38, 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/DataTypes/DataTypesDecimal.cpp:288: void DB::convertToDecimalImpl, DB::DataTypeDecimal>>, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDecimal>>::FieldType&) @ 0x0000000019f5307c 7. /build/src/DataTypes/DataTypesDecimal.cpp:322: DB::DataTypeDecimal>>::FieldType DB::convertToDecimal, DB::DataTypeDecimal>>>(DB::DataTypeNumber::FieldType const&, unsigned int) @ 0x0000000019f552bf 8. /build/src/Functions/FunctionsConversion.cpp:1700: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl, DB::DataTypeDecimal>>, DB::(anonymous namespace)::NameToDecimal128, (DB::FormatSettings::DateTimeOverflowBehavior)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, unsigned int) @ 0x000000000ae0ea1f 9. /build/src/Functions/FunctionsConversion.cpp:2201: bool DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator(), DB::DataTypeDecimal>>>>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae01f53 10. /build/src/Core/callOnTypeIndex.h:193: bool DB::callOnIndexAndDataType>>, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000adff918 11. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adff54d 12. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>>, DB::(anonymous namespace)::NameToDecimal128, DB::(anonymous namespace)::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000adfe95e 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:42.822917 [ 27699 ] {18e73493-a78f-44fe-af25-747766cfc4ac} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 2, should be 1: In scope (SELECT ln('\0', [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:49:43.035688 [ 27699 ] {26133744-1f48-4b30-bfd0-2b6a4deaba76} executeQuery: Code: 42. DB::Exception: The signature of table function gcs shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', (CAST((( SELECT * FROM gcs() ) ) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:43.038147 [ 27699 ] {26133744-1f48-4b30-bfd0-2b6a4deaba76} TCPHandler: Code: 42. DB::Exception: The signature of table function gcs shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:43.214275 [ 27699 ] {9fb6a163-df22-4eb1-a352-3f26d5259b63} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function asin: In scope SELECT NULL, CAST(asin('\0'), 'Date'), 'EY', CAST('\0', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, (CAST((asin('\0')) AS Date)), 'EY', (CAST(('\0') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9d0e47 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:43.216742 [ 27699 ] {9fb6a163-df22-4eb1-a352-3f26d5259b63} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function asin: In scope SELECT NULL, CAST(asin('\0'), 'Date'), 'EY', CAST('\0', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9d0e47 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:43.238981 [ 27699 ] {6881168f-5007-44c4-98e4-4c0ed0f3043e} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT arrayIntersect(CAST('', 'Date'), ''). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayIntersect((CAST(('') AS Date)), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:43.240954 [ 27699 ] {6881168f-5007-44c4-98e4-4c0ed0f3043e} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT arrayIntersect(CAST('', 'Date'), ''). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:43.419009 [ 27699 ] {58ba9e70-c448-49a2-b6a4-9960110be47d} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'Hb:kld.', ( SELECT * FROM mongodb() ) , ( SELECT __actionName(NULL) ) AS dfbqefm, NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:43.420980 [ 27699 ] {58ba9e70-c448-49a2-b6a4-9960110be47d} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:43.607984 [ 27699 ] {2365dde8-a2de-4e10-93e9-c33e4344d0bb} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds must be a number: In scope (SELECT s2RectUnion(subtractSeconds('\0', ''), CAST([], 'DateTime'))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster([], ( SELECT s2RectUnion(subtractSeconds('\0', ''), (CAST(([]) AS DateTime))) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:636: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011d64bab 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:49:43.610303 [ 27699 ] {2365dde8-a2de-4e10-93e9-c33e4344d0bb} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds must be a number: In scope (SELECT s2RectUnion(subtractSeconds('\0', ''), CAST([], 'DateTime'))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:636: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011d64bab 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:49:43.843964 [ 27699 ] {c27c8411-6090-4d7d-9a14-499b44f9a768} executeQuery: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 2, should be 0: In scope SELECT sipHash128ReferenceKeyed(CAST(emptyArrayDate(shardNum(' e&](L', '')), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sipHash128ReferenceKeyed((CAST((emptyArrayDate(shardNum(' e&](L', ''))) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:43.846656 [ 27699 ] {c27c8411-6090-4d7d-9a14-499b44f9a768} TCPHandler: Code: 42. DB::Exception: Number of arguments for function shardNum doesn't match: passed 2, should be 0: In scope SELECT sipHash128ReferenceKeyed(CAST(emptyArrayDate(shardNum(' e&](L', '')), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:44.081496 [ 27699 ] {88cc2d9d-b269-4d4b-b5a2-c0ac2b72f05f} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x0000000022a09e27 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000022a0a567 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000022a0e6a7 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x0000000022a8fb42 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x0000000022a8f2e2 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x0000000022a8b0c5 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x0000000022a8b017 11. /build/src/IO/S3/URI.cpp:58: DB::S3::URI::URI(String const&) @ 0x0000000018d84860 12. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 13. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:44.083773 [ 27699 ] {88cc2d9d-b269-4d4b-b5a2-c0ac2b72f05f} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x0000000022a09e27 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000022a0a567 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000022a0e6a7 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x0000000022a8fb42 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x0000000022a8f2e2 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x0000000022a8b0c5 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x0000000022a8b017 11. /build/src/IO/S3/URI.cpp:58: DB::S3::URI::URI(String const&) @ 0x0000000018d84860 12. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 13. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:44.283800 [ 27699 ] {62eac2cb-36d3-4119-a81b-4ffb5802b4c2} executeQuery: Code: 42. DB::Exception: Function 'notIn' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT concatAssumeInjective(-2930.1063, notIn('\0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:44.285824 [ 27699 ] {62eac2cb-36d3-4119-a81b-4ffb5802b4c2} TCPHandler: Code: 42. DB::Exception: Function 'notIn' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:44.483786 [ 27699 ] {31f908d3-a4ee-4f12-87de-65e42cb3d6ba} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [( SELECT * FROM odbc([]) ) , ( SELECT dictGetString('\0') ) AS bdlcts], ( SELECT * FROM zeros_mt(00302353, NULL) ) , NULL, [(CAST((NULL) AS String))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:44.486601 [ 27699 ] {31f908d3-a4ee-4f12-87de-65e42cb3d6ba} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:44.505617 [ 27699 ] {b124adfe-2284-47bd-a3f6-19a33b798114} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 0, should be 2: In scope SELECT from_utc_timestamp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT from_utc_timestamp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:44.508123 [ 27699 ] {b124adfe-2284-47bd-a3f6-19a33b798114} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromUTCTimestamp doesn't match: passed 0, should be 2: In scope SELECT from_utc_timestamp(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:44.676785 [ 27699 ] {2cfde637-5150-4159-bb40-198cff60e046} executeQuery: Code: 42. DB::Exception: Aggregate function cramersV requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', (CAST((cramersV()) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionCramersV.cpp:39: DB::registerAggregateFunctionCramersV(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015afeee9 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015afee18 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015afed95 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015afed35 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015afecdd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:44.679058 [ 27699 ] {2cfde637-5150-4159-bb40-198cff60e046} TCPHandler: Code: 42. DB::Exception: Aggregate function cramersV requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionCramersV.cpp:39: DB::registerAggregateFunctionCramersV(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015afeee9 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015afee18 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015afed95 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015afed35 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015afecdd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:44.868067 [ 27699 ] {6f994f35-4b8b-45b5-8e19-83cae01f3231} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, ( SELECT * FROM oss(09.9002, ['']) ) AS fe, (CAST((NULL) AS DateTime)), 9567;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:44.870481 [ 27699 ] {6f994f35-4b8b-45b5-8e19-83cae01f3231} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:45.040666 [ 27699 ] {e74293e6-a83a-4a57-991f-3952d7dcdd2f} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: In scope SELECT CAST(['IX~pbO"'], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((['IX~pbO"']) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:49:45.042907 [ 27699 ] {e74293e6-a83a-4a57-991f-3952d7dcdd2f} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: In scope SELECT CAST(['IX~pbO"'], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:49:45.332155 [ 27699 ] {70dcb75c-a871-44d2-8167-3c3660e94b63} executeQuery: Code: 43. DB::Exception: Number of arguments for function char can't be 0, should be at least 1: In scope (SELECT char(), [], CAST(((SELECT 8.7, structureToProtobufSchema((SELECT '', 'X6lW', 9520997.675391, -156109.3713, CAST([NULL], 'Date')), NULL), 'u8sOSc', CAST([CAST(((SELECT 61831.29) AS ucrj, (SELECT [(SELECT INET_ATON()), (SELECT row_number())], CAST(arrayReverseSort(-79368779.2206, CAST(-75968.01, 'Date')), 'DateTime'), '')), 'String')], 'DateTime')) AS gvytotb, (SELECT shardNum('\0')) AS iuxyh), 'DateTime'), NULL, '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, NULL, (CAST((( SELECT char(), [], (CAST((( SELECT 8.7, structureToProtobufSchema(( SELECT '', 'X6lW', 9520997.675391, -156109.3713, (CAST(([NULL]) AS Date)) ) , NULL), 'u8sOSc', (CAST(([(CAST((( SELECT 61831.29 ) AS ucrj, ( SELECT [( SELECT INET_ATON() ) , ( SELECT row_number() ) ], (CAST((arrayReverseSort(-79368779.22060, (CAST((-75968.01) AS Date)))) AS DateTime)), '' ) ) AS String))]) AS DateTime)) ) AS gvytotb, ( SELECT shardNum('\0') ) AS iuxyh) AS DateTime)), NULL, '\0' ) , ( SELECT * FROM postgresql('\0', '>') ) AS vwhtrir) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionChar.cpp:39: DB::FunctionChar::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a8fb889 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:45.335533 [ 27699 ] {70dcb75c-a871-44d2-8167-3c3660e94b63} TCPHandler: Code: 43. DB::Exception: Number of arguments for function char can't be 0, should be at least 1: In scope (SELECT char(), [], CAST(((SELECT 8.7, structureToProtobufSchema((SELECT '', 'X6lW', 9520997.675391, -156109.3713, CAST([NULL], 'Date')), NULL), 'u8sOSc', CAST([CAST(((SELECT 61831.29) AS ucrj, (SELECT [(SELECT INET_ATON()), (SELECT row_number())], CAST(arrayReverseSort(-79368779.2206, CAST(-75968.01, 'Date')), 'DateTime'), '')), 'String')], 'DateTime')) AS gvytotb, (SELECT shardNum('\0')) AS iuxyh), 'DateTime'), NULL, '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionChar.cpp:39: DB::FunctionChar::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a8fb889 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:45.538314 [ 27699 ] {812a7a02-c3b0-4d7d-9cbf-4cd892009c1c} executeQuery: Code: 42. DB::Exception: FuzzJSON requires 1 to 2 arguments: json_str, random_seed. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge('\0', (CAST((( SELECT NULL, 'eeV-,4', ( SELECT * FROM fuzzJSON() ) AS qjsf ) AS buks, ( SELECT formatRow('\0', (CAST((( SELECT * FROM redis() ) ) AS Date))) ) AS m) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageFuzzJSON.cpp:694: DB::StorageFuzzJSON::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001c398793 7. /build/src/TableFunctions/TableFunctionFuzzJSON.cpp:26: DB::TableFunctionFuzzJSON::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d7512a 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:45.541009 [ 27699 ] {812a7a02-c3b0-4d7d-9cbf-4cd892009c1c} TCPHandler: Code: 42. DB::Exception: FuzzJSON requires 1 to 2 arguments: json_str, random_seed. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageFuzzJSON.cpp:694: DB::StorageFuzzJSON::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001c398793 7. /build/src/TableFunctions/TableFunctionFuzzJSON.cpp:26: DB::TableFunctionFuzzJSON::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d7512a 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 21:49:45.740313 [ 27699 ] {31e508a0-551a-4714-be00-868356d305a7} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:45.742551 [ 27699 ] {31e508a0-551a-4714-be00-868356d305a7} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:45.945601 [ 27699 ] {92f51de2-fe91-489e-912d-342f975ddd65} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM zeros_mt() ) , ( SELECT toUUIDOrDefault('?FR;R{') ) AS ubhabphc, ( SELECT current_timestamp(), 2 ) , ( SELECT * FROM generateRandom(NULL) ) , 'v', [-658.66];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionZeros.cpp:59: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d3fd68 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:45.948093 [ 27699 ] {92f51de2-fe91-489e-912d-342f975ddd65} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionZeros.cpp:59: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d3fd68 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:45.975301 [ 27699 ] {5193acf7-6983-4eb8-803f-8edf0a47f2af} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT CAST('\0', 'Date'). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('\0') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:45.977831 [ 27699 ] {5193acf7-6983-4eb8-803f-8edf0a47f2af} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT CAST('\0', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:46.186516 [ 27699 ] {00724e6d-976a-4ef3-b9f9-0b26dc63a35d} executeQuery: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(((CAST((( SELECT * FROM mergeTreeIndex() ) AS oyvokf, ( SELECT * FROM viewExplain() ) AS icgysidr) AS String))) AS String)), NULL, 'Eg`x';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:49:46.189274 [ 27699 ] {00724e6d-976a-4ef3-b9f9-0b26dc63a35d} TCPHandler: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:49:46.393338 [ 27699 ] {c80adf75-5028-4f48-8097-713841dd53a8} executeQuery: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster_name, uri - cluster_name, uri, format - cluster_name, uri, format, structure - cluster_name, uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d996f8 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:46.395954 [ 27699 ] {c80adf75-5028-4f48-8097-713841dd53a8} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster_name, uri - cluster_name, uri, format - cluster_name, uri, format, structure - cluster_name, uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d996f8 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:46.598206 [ 27699 ] {4ec6b1ed-cf0d-42c2-83d5-92a85a32ee8c} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function countMatchesCaseInsensitive, expected String or FixedString, got Array(Nothing): In scope SELECT * FROM deltaLake(h3IsValid([countMatchesCaseInsensitive([], 'q')])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake(h3IsValid([countMatchesCaseInsensitive([], 'q')]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/countMatches.h:41: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseInsensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce8be37 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:46.600414 [ 27699 ] {4ec6b1ed-cf0d-42c2-83d5-92a85a32ee8c} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function countMatchesCaseInsensitive, expected String or FixedString, got Array(Nothing): In scope SELECT * FROM deltaLake(h3IsValid([countMatchesCaseInsensitive([], 'q')])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/countMatches.h:41: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseInsensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce8be37 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:46.838602 [ 27699 ] {d3e0dfec-3aa6-483f-bfb2-546411a2e17d} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql(NULL, (CAST((-106) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:46.841081 [ 27699 ] {d3e0dfec-3aa6-483f-bfb2-546411a2e17d} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:46.867081 [ 27699 ] {c4df017a-7f21-4c30-a0f1-b7361f7cc365} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: In scope SELECT CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:49:46.869895 [ 27699 ] {c4df017a-7f21-4c30-a0f1-b7361f7cc365} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: In scope SELECT CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:49:47.075920 [ 27699 ] {cdab7681-d5ec-4292-a6f7-58eb40b2dfab} executeQuery: Code: 42. DB::Exception: Number of arguments for function greatCircleAngle doesn't match: passed 1, should be 4: In scope SELECT * FROM clusterAllReplicas([greatCircleAngle('85;')]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas([greatCircleAngle('85;')]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:47.078970 [ 27699 ] {cdab7681-d5ec-4292-a6f7-58eb40b2dfab} TCPHandler: Code: 42. DB::Exception: Number of arguments for function greatCircleAngle doesn't match: passed 1, should be 4: In scope SELECT * FROM clusterAllReplicas([greatCircleAngle('85;')]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:47.100931 [ 27699 ] {9b41c226-fc74-4573-8401-45955fc5dbd3} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 0, should be 2: In scope SELECT visitParamHas(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visitParamHas();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:47.103689 [ 27699 ] {9b41c226-fc74-4573-8401-45955fc5dbd3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONHas doesn't match: passed 0, should be 2: In scope SELECT visitParamHas(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:47.290408 [ 27699 ] {ceb26b5c-ece7-4bea-9b68-a36fd7da8f1f} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantileBFloat16Weighted. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianBFloat16Weighted('%?Yp=-6', 60169);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001469b23a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:47.292766 [ 27699 ] {ceb26b5c-ece7-4bea-9b68-a36fd7da8f1f} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantileBFloat16Weighted. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileBFloat16Weighted.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001469b23a 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:47.482237 [ 27699 ] {0ec7b7cd-f293-4b4b-97ef-c085584f4ee4} executeQuery: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT formatQueryOrNull([CAST('\0', 'DateTime')]). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatQueryOrNull([(CAST(('\0') AS DateTime))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:49:47.484778 [ 27699 ] {0ec7b7cd-f293-4b4b-97ef-c085584f4ee4} TCPHandler: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT formatQueryOrNull([CAST('\0', 'DateTime')]). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:49:47.505198 [ 27699 ] {269b40fd-8bd4-4438-adb1-7db379665b4d} executeQuery: Code: 42. DB::Exception: Number of arguments for function sigmoid doesn't match: passed 2, should be 1: In scope SELECT sigmoid(-14765, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sigmoid(-14765, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:47.507458 [ 27699 ] {269b40fd-8bd4-4438-adb1-7db379665b4d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function sigmoid doesn't match: passed 2, should be 1: In scope SELECT sigmoid(-14765, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:47.731189 [ 27699 ] {66284431-68b4-457e-b00e-a104507a89a5} executeQuery: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs('=CXi', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:69: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4e07d 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:49:47.733526 [ 27699 ] {66284431-68b4-457e-b00e-a104507a89a5} TCPHandler: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:69: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4e07d 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:49:48.001834 [ 27699 ] {befd0a5b-f400-417e-a597-bc9340c70a01} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(( SELECT * FROM file() ) , ( SELECT NULL, arraySum(), intExp10(), (CAST(([( SELECT [], ( SELECT buildId() ) , NULL, [], h3HexRing(-12954.314151) ) ]) AS String)), NULL ) AS qbxmztdw, (CAST((NULL) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:48.004581 [ 27699 ] {befd0a5b-f400-417e-a597-bc9340c70a01} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:48.223387 [ 27699 ] {b8c0f676-9def-48c5-a25c-c491d27d8131} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT log1p('\0', ( SELECT * FROM iceberg([], []) ) AS gsvu);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:48.226444 [ 27699 ] {b8c0f676-9def-48c5-a25c-c491d27d8131} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:48.413746 [ 27699 ] {5d23edb6-c3ce-450c-9e4a-c7bedee0f176} executeQuery: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT categoricalInformationValue();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c93c95 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:48.416196 [ 27699 ] {5d23edb6-c3ce-450c-9e4a-c7bedee0f176} TCPHandler: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c93c95 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:48.609903 [ 27699 ] {2fdeb463-8603-479b-a8f2-096f9df72060} executeQuery: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:48.612255 [ 27699 ] {2fdeb463-8603-479b-a8f2-096f9df72060} TCPHandler: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:48.816360 [ 27699 ] {d063edeb-be30-42fe-9fd0-6aee3956ce51} executeQuery: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionInput.cpp:67: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d622c9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:48.818439 [ 27699 ] {d063edeb-be30-42fe-9fd0-6aee3956ce51} TCPHandler: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionInput.cpp:67: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d622c9 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:49.031699 [ 27699 ] {58277e49-3c21-4b3d-9e84-e8946d491094} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([], '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:49.033971 [ 27699 ] {58277e49-3c21-4b3d-9e84-e8946d491094} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:49.260585 [ 27699 ] {0e21a5ce-1d60-4653-aedd-f935d613cd62} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM executable() ) , ( SELECT dictGetUUIDOrDefault('1.yRw)>') ) AS snnw, '\0', NULL, [], '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:97: DB::(anonymous namespace)::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d43a68 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:49.263246 [ 27699 ] {0e21a5ce-1d60-4653-aedd-f935d613cd62} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:97: DB::(anonymous namespace)::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d43a68 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:49:49.291577 [ 27699 ] {1fb16d3e-79ca-4785-a632-0de38316cc43} executeQuery: Code: 42. DB::Exception: Number of arguments for function roundAge doesn't match: passed 0, should be 1: In scope SELECT CAST(roundAge(), 'Date'), ['\0'], (SELECT formatQuerySingleLine(CAST(-150, 'DateTime'), toDecimal32OrDefault([]))) AS ubiuo, (SELECT indexHint()) AS kznnjkz. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((roundAge()) AS Date)), ['\0'], ( SELECT formatQuerySingleLine((CAST((-0150) AS DateTime)), toDecimal32OrDefault([])) ) AS ubiuo, ( SELECT indexHint() ) AS kznnjkz;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:49.293635 [ 27699 ] {1fb16d3e-79ca-4785-a632-0de38316cc43} TCPHandler: Code: 42. DB::Exception: Number of arguments for function roundAge doesn't match: passed 0, should be 1: In scope SELECT CAST(roundAge(), 'Date'), ['\0'], (SELECT formatQuerySingleLine(CAST(-150, 'DateTime'), toDecimal32OrDefault([]))) AS ubiuo, (SELECT indexHint()) AS kznnjkz. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:49:49.478360 [ 27699 ] {fedeb113-04cd-4d4b-8247-72f9e54791e9} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null(quantile('W8}', ''));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:49.481043 [ 27699 ] {fedeb113-04cd-4d4b-8247-72f9e54791e9} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function quantile. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.cpp:144: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013f11e7b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:49:49.504109 [ 27699 ] {9b9346b1-523c-46cf-9b8c-3bccd045e7b5} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3EdgeLengthM doesn't match: passed 0, should be 1: In scope SELECT h3EdgeLengthM(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3EdgeLengthM();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:49.506802 [ 27699 ] {9b9346b1-523c-46cf-9b8c-3bccd045e7b5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3EdgeLengthM doesn't match: passed 0, should be 1: In scope SELECT h3EdgeLengthM(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:49.687895 [ 27699 ] {60f24d86-3237-4fc3-9f9b-6f3aef69b764} executeQuery: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:49.689914 [ 27699 ] {60f24d86-3237-4fc3-9f9b-6f3aef69b764} TCPHandler: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:49.869787 [ 27699 ] {075ddbf0-dc7a-4d38-8cf2-1cf3494f3682} executeQuery: Code: 36. DB::Exception: Wrong number of arguments for function randBernoulli. Should be 1 or 2: In scope SELECT randBernoulli(). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT randBernoulli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x00000000119c46e8 6. /build/src/Functions/randDistribution.cpp:249: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119be7ab 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:49.871811 [ 27699 ] {075ddbf0-dc7a-4d38-8cf2-1cf3494f3682} TCPHandler: Code: 36. DB::Exception: Wrong number of arguments for function randBernoulli. Should be 1 or 2: In scope SELECT randBernoulli(). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x00000000119c46e8 6. /build/src/Functions/randDistribution.cpp:249: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119be7ab 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:49.887655 [ 27699 ] {a1bdb044-6bd3-4857-925c-ceff4ba4cf88} executeQuery: Code: 42. DB::Exception: Number of arguments for function visibleWidth doesn't match: passed 0, should be 1: In scope SELECT visibleWidth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visibleWidth();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:49.889470 [ 27699 ] {a1bdb044-6bd3-4857-925c-ceff4ba4cf88} TCPHandler: Code: 42. DB::Exception: Number of arguments for function visibleWidth doesn't match: passed 0, should be 1: In scope SELECT visibleWidth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:49.907870 [ 27699 ] {8123b2a3-9030-435f-9da3-befae99062e8} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3UnidirectionalEdgeIsValid doesn't match: passed 0, should be 1: In scope SELECT h3UnidirectionalEdgeIsValid(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3UnidirectionalEdgeIsValid();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:49.909971 [ 27699 ] {8123b2a3-9030-435f-9da3-befae99062e8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3UnidirectionalEdgeIsValid doesn't match: passed 0, should be 1: In scope SELECT h3UnidirectionalEdgeIsValid(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:50.146475 [ 27699 ] {6b4a558b-0e99-4342-8e34-bf91488240ff} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseDateTime32BestEffortOrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT parseDateTime32BestEffortOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTime32BestEffortOrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af24d23 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:50.148466 [ 27699 ] {6b4a558b-0e99-4342-8e34-bf91488240ff} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseDateTime32BestEffortOrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT parseDateTime32BestEffortOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af24d23 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:49:50.166639 [ 27699 ] {8d896a2c-9184-48cb-b76e-32777df9b6ea} executeQuery: Code: 42. DB::Exception: Number of arguments for function pi doesn't match: passed 1, should be 0: In scope SELECT pi(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT pi(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:50.168438 [ 27699 ] {8d896a2c-9184-48cb-b76e-32777df9b6ea} TCPHandler: Code: 42. DB::Exception: Number of arguments for function pi doesn't match: passed 1, should be 0: In scope SELECT pi(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:50.388095 [ 27699 ] {09a567c6-dcf3-4658-8443-eed2399f3bac} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT murmurHash2_32(( SELECT * FROM gcs('\0') ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x0000000022a09e27 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000022a0a567 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000022a0e6a7 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x0000000022a8fb42 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x0000000022a8f2e2 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x0000000022a8b0c5 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x0000000022a8b017 11. /build/src/IO/S3/URI.cpp:58: DB::S3::URI::URI(String const&) @ 0x0000000018d84860 12. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 13. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:50.390287 [ 27699 ] {09a567c6-dcf3-4658-8443-eed2399f3bac} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x0000000022a09e27 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x0000000022a0a567 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x0000000022a0e6a7 7. /build/base/poco/Foundation/src/URI.cpp:743: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x0000000022a8fb42 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x0000000022a8f2e2 9. /build/base/poco/Foundation/src/URI.cpp:746: Poco::URI::parse(String const&) @ 0x0000000022a8b0c5 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&, bool) @ 0x0000000022a8b017 11. /build/src/IO/S3/URI.cpp:58: DB::S3::URI::URI(String const&) @ 0x0000000018d84860 12. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 13. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:49:50.405213 [ 27699 ] {b0793b93-be09-46bf-aa99-3d9c337b28b6} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitOr doesn't match: passed 0, should be 2: In scope SELECT bitOr(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitOr();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:50.407328 [ 27699 ] {b0793b93-be09-46bf-aa99-3d9c337b28b6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitOr doesn't match: passed 0, should be 2: In scope SELECT bitOr(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:50.582796 [ 27699 ] {d4639c02-4cab-49a8-bbbd-cbccd5ac0c58} executeQuery: Code: 42. DB::Exception: Number of arguments for function editDistance doesn't match: passed 0, should be 2: In scope SELECT covarSampStable(CAST(editDistance(), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT covarSampStable((CAST((editDistance()) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:50.585154 [ 27699 ] {d4639c02-4cab-49a8-bbbd-cbccd5ac0c58} TCPHandler: Code: 42. DB::Exception: Number of arguments for function editDistance doesn't match: passed 0, should be 2: In scope SELECT covarSampStable(CAST(editDistance(), 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:50.759826 [ 27699 ] {e0218ecd-7d49-45cb-bfb9-73f53eb4ebfc} executeQuery: Code: 35. DB::Exception: Function replicate expect at least two arguments, got 1: In scope SELECT replicate(''). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT replicate('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/replicate.cpp:22: DB::FunctionReplicate::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011a74046 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:50.761719 [ 27699 ] {e0218ecd-7d49-45cb-bfb9-73f53eb4ebfc} TCPHandler: Code: 35. DB::Exception: Function replicate expect at least two arguments, got 1: In scope SELECT replicate(''). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/replicate.cpp:22: DB::FunctionReplicate::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011a74046 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:51.015940 [ 27699 ] {606fbfba-75f0-448e-a513-5ae5c1b18a81} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs('0mh');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:51.144404 [ 27699 ] {606fbfba-75f0-448e-a513-5ae5c1b18a81} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:49:51.144424 [ 27700 ] {2e760580-f753-4ae6-b831-6753395bf421} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:60622) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT NULL AS src SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Interpreters/ActionsDAG.cpp:317: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001a435d98 9. /build/src/Interpreters/ActionsDAG.cpp:244: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43575b 10. /build/src/Interpreters/ActionsDAG.cpp:1455: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001a43fda3 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:597: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d2dc 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:51.145511 [ 27700 ] {2e760580-f753-4ae6-b831-6753395bf421} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Interpreters/ActionsDAG.cpp:317: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001a435d98 9. /build/src/Interpreters/ActionsDAG.cpp:244: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001a43575b 10. /build/src/Interpreters/ActionsDAG.cpp:1455: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001a43fda3 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:597: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d2dc 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 21:49:51.163707 [ 27699 ] {35f9c468-9f03-4a99-925c-3ea036a97362} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 2, should be 0: In scope SELECT currentUser('\0', []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT currentUser('\0', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:51.167453 [ 27699 ] {35f9c468-9f03-4a99-925c-3ea036a97362} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentUser doesn't match: passed 2, should be 0: In scope SELECT currentUser('\0', []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:51.348488 [ 27699 ] {a1a2aa9b-53ba-4d36-b899-91db24d07dfb} executeQuery: Code: 42. DB::Exception: Aggregate function cramersV requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage(cramersV());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionCramersV.cpp:39: DB::registerAggregateFunctionCramersV(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015afeee9 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015afee18 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015afed95 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015afed35 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015afecdd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:51.350568 [ 27699 ] {a1a2aa9b-53ba-4d36-b899-91db24d07dfb} TCPHandler: Code: 42. DB::Exception: Aggregate function cramersV requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionCramersV.cpp:39: DB::registerAggregateFunctionCramersV(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015afeee9 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015afee18 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015afed95 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015afed35 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015afecdd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:49:51.370764 [ 27699 ] {fc694500-d1b9-40c3-ba19-d07b9fa8926a} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 0, should be 2: In scope SELECT isNotDistinctFrom(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT isNotDistinctFrom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:51.372671 [ 27699 ] {fc694500-d1b9-40c3-ba19-d07b9fa8926a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNotDistinctFrom doesn't match: passed 0, should be 2: In scope SELECT isNotDistinctFrom(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:49:51.554035 [ 27699 ] {21ab6459-5faa-435f-9d8f-47b796b168e4} executeQuery: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x0000000018d6d07b 7. /build/src/Interpreters/Cluster.cpp:143: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a522ef3 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 12. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:49:51.556969 [ 27699 ] {21ab6459-5faa-435f-9d8f-47b796b168e4} TCPHandler: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x0000000018d6d07b 7. /build/src/Interpreters/Cluster.cpp:143: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a522ef3 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 12. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:49:51.582455 [ 27699 ] {e36c0429-4f0b-4730-9eaa-516080f48081} executeQuery: Code: 42. DB::Exception: Function 'nullIn' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 00746_sql_fuzzy.sh) (in query: SELECT nullIn('q3');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:51.585187 [ 27699 ] {e36c0429-4f0b-4730-9eaa-516080f48081} TCPHandler: Code: 42. DB::Exception: Function 'nullIn' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:49:55.019312 [ 27700 ] {8b32f79d-e965-4a8b-8c27-783a1fd21889} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:60692) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT number % 2 ? 1 : NULL AS src FROM numbers(10) SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4553: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc71a0 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6fe6 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc6f80 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6f20 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc6ecb 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 13. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 18. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 19. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:49:55.023036 [ 27700 ] {8b32f79d-e965-4a8b-8c27-783a1fd21889} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4553: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc71a0 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6fe6 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc6f80 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6f20 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc6ecb 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 13. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 14. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 15. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 18. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 19. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 21:49:58.794416 [ 27700 ] {17e512b8-f454-4197-937a-3efce0dde1a4} executeQuery: Code: 43. DB::Exception: The first argument of function JSONType should be a string containing JSON, illegal type: Array(Nothing): In scope (SELECT JSONType([])) AS ujrupnl. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT notEmpty(( SELECT JSONType([]) ) AS ujrupnl);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsJSON.h:92: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x000000000b47a181 7. /build/src/Functions/FunctionsJSON.h:371: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b479eaa 8. /build/src/Functions/FunctionsJSON.h:358: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b479d61 9. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:58.796758 [ 27700 ] {17e512b8-f454-4197-937a-3efce0dde1a4} TCPHandler: Code: 43. DB::Exception: The first argument of function JSONType should be a string containing JSON, illegal type: Array(Nothing): In scope (SELECT JSONType([])) AS ujrupnl. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsJSON.h:92: DB::FunctionJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x000000000b47a181 7. /build/src/Functions/FunctionsJSON.h:371: DB::ExecutableFunctionJSON::chooseAndRunJSONParser(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b479eaa 8. /build/src/Functions/FunctionsJSON.h:358: DB::ExecutableFunctionJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b479d61 9. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:49:59.075881 [ 27700 ] {bb743ead-f9db-4711-9ed0-f00cc4169918} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT CAST('', 'Date'), [], queryID(), NULL. (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS Date)), [], queryID(), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:59.077892 [ 27700 ] {bb743ead-f9db-4711-9ed0-f00cc4169918} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT CAST('', 'Date'), [], queryID(), NULL. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:49:59.292522 [ 27700 ] {ec58477b-5f0c-4b9d-9824-fbf5f051ee28} executeQuery: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', (CAST((( SELECT detectTonality([], [( SELECT toIPv4OrNull(( SELECT * FROM remote('G))Rc+_2', '') ) ) ) AS zsdu, ( SELECT array_concat_agg(reinterpretAsUInt8('', (CAST(('\0') AS Date)))) ) AS g]) ) AS axtgcwif, ( SELECT * FROM odbc(cutQueryString(-61205903)) ) ) AS String)), NULL, '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x0000000018d1c2d3 6. /build/src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d18302 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:49:59.294914 [ 27700 ] {ec58477b-5f0c-4b9d-9824-fbf5f051ee28} TCPHandler: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x0000000018d1c2d3 6. /build/src/TableFunctions/TableFunctionRemote.cpp:178: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d18302 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:49:59.470668 [ 27700 ] {2ed060c1-dbc5-4e94-ac1a-df844e3d59d2} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: passed 1, should be 3 or 4: In scope SELECT dateDiff([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT timestampDiff([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000cead41f 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:59.472841 [ 27700 ] {2ed060c1-dbc5-4e94-ac1a-df844e3d59d2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateDiff doesn't match: passed 1, should be 3 or 4: In scope SELECT dateDiff([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000cead41f 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:49:59.671296 [ 27700 ] {b61c89de-8dec-4663-a64a-bcf98a89811b} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure([], 'Q:Q`~x');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:49:59.673179 [ 27700 ] {b61c89de-8dec-4663-a64a-bcf98a89811b} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:00.029557 [ 27700 ] {84a2c1c1-a233-433d-a368-5d966e39ced2} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDhhmmssToDateTime64 provided 0, expected 1 to 3 ('YYYYMMDDhhmmss' : Number, ['precision' : const Number, 'precision' : const String]): In scope SELECT YYYYMMDDhhmmssToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT YYYYMMDDhhmmssToDateTime64();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:654: DB::(anonymous namespace)::FunctionYYYYMMDDhhmmssToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85ee60 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:00.031677 [ 27700 ] {84a2c1c1-a233-433d-a368-5d966e39ced2} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function YYYYMMDDhhmmssToDateTime64 provided 0, expected 1 to 3 ('YYYYMMDDhhmmss' : Number, ['precision' : const Number, 'precision' : const String]): In scope SELECT YYYYMMDDhhmmssToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/makeDate.cpp:654: DB::(anonymous namespace)::FunctionYYYYMMDDhhmmssToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f85ee60 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:00.049260 [ 27700 ] {2d936670-ebc1-44cb-bae0-67bbc9a4f347} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:00.051501 [ 27700 ] {2d936670-ebc1-44cb-bae0-67bbc9a4f347} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:00.212263 [ 27700 ] {a3902fd9-e655-4ee0-b5b3-d147e7f5a30a} executeQuery: Code: 42. DB::Exception: Aggregate function anyLast requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn(last_value(), [( SELECT * FROM s3Cluster('', '\0') ) ]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/SingleValueData.h:356: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014994a55 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:354: DB::(anonymous namespace)::createAggregateFunctionAnyLast(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001496bdad 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:00.214657 [ 27700 ] {a3902fd9-e655-4ee0-b5b3-d147e7f5a30a} TCPHandler: Code: 42. DB::Exception: Aggregate function anyLast requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/SingleValueData.h:356: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014994a55 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:354: DB::(anonymous namespace)::createAggregateFunctionAnyLast(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001496bdad 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:00.393967 [ 27700 ] {dc2014fb-f459-4893-94fa-c0281acbd5b5} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], ( SELECT * FROM remoteSecure([], '') ) , [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:50:00.396227 [ 27700 ] {dc2014fb-f459-4893-94fa-c0281acbd5b5} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:50:00.565262 [ 27700 ] {94fb60d2-8b2d-4413-babf-c1dc8b282df8} executeQuery: Code: 42. DB::Exception: Aggregate function kolmogorovSmirnovTest requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT kolmogorovSmirnovTest([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:342: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015eeeb28 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:00.567786 [ 27700 ] {94fb60d2-8b2d-4413-babf-c1dc8b282df8} TCPHandler: Code: 42. DB::Exception: Aggregate function kolmogorovSmirnovTest requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:342: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015eeeb28 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:00.770783 [ 27700 ] {30d40c85-fde7-4d0d-bf28-2ebe2f3a171b} executeQuery: Code: 43. DB::Exception: Illegal types String and String of arguments of function moduloOrZero: In scope SELECT NULL, CAST(moduloOrZero('\0', CAST([], 'String')), 'Date'), 'Gs'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, (CAST((moduloOrZero('\0', (CAST(([]) AS String)))) AS Date)), 'Gs';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010624889 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048696f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:00.773357 [ 27700 ] {30d40c85-fde7-4d0d-bf28-2ebe2f3a171b} TCPHandler: Code: 43. DB::Exception: Illegal types String and String of arguments of function moduloOrZero: In scope SELECT NULL, CAST(moduloOrZero('\0', CAST([], 'String')), 'Date'), 'Gs'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000aa266a8 6. /build/src/Functions/FunctionBinaryArithmetic.h:1753: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000010624889 7. /build/src/Functions/FunctionBinaryArithmetic.h:2664: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001048696f 8. /build/src/Functions/IFunction.h:386: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b459f29 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:00.937442 [ 27700 ] {9eb174c8-04b7-4902-aac8-a042584fb167} executeQuery: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): In scope SELECT polygonsWithinSpherical([], 508685). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsWithinSpherical([], 508685);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType>, void DB::callOnTwoGeometryDataTypes>, DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x0000000011872036 7. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes>, DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x0000000011871a6a 8. /build/src/Functions/polygonsWithin.cpp:74: DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000118718e8 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:00.939507 [ 27700 ] {9eb174c8-04b7-4902-aac8-a042584fb167} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): In scope SELECT polygonsWithinSpherical([], 508685). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType>, void DB::callOnTwoGeometryDataTypes>, DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x0000000011872036 7. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes>, DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x0000000011871a6a 8. /build/src/Functions/polygonsWithin.cpp:74: DB::(anonymous namespace)::FunctionPolygonsWithin>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000118718e8 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:01.115670 [ 27700 ] {5a53f4cf-4d92-4a40-90e9-72e392e3fbfc} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt32 provided 0, expected 1 ('Value' : ): In scope SELECT toInt32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt32();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ab89900 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ab897c0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab8977d 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab8973d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab896fd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab896c5 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ab894fb 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ab7f11a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:50:01.117568 [ 27700 ] {5a53f4cf-4d92-4a40-90e9-72e392e3fbfc} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt32 provided 0, expected 1 ('Value' : ): In scope SELECT toInt32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ab89900 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ab897c0 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ab8977d 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ab8973d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ab896fd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ab896c5 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ab894fb 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToInt32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ab7f11a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:50:01.288352 [ 27700 ] {afb0b257-ac3d-464b-8814-9e6b5db366a2} executeQuery: Code: 42. DB::Exception: Aggregate function largestTriangleThreeBuckets requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT largestTriangleThreeBuckets('zhG+T');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionLargestTriangleThreeBuckets.cpp:347: DB::(anonymous namespace)::createAggregateFunctionLargestTriangleThreeBuckets(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015ef3ba8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:01.290296 [ 27700 ] {afb0b257-ac3d-464b-8814-9e6b5db366a2} TCPHandler: Code: 42. DB::Exception: Aggregate function largestTriangleThreeBuckets requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x00000000139e4de1 7. /build/src/AggregateFunctions/AggregateFunctionLargestTriangleThreeBuckets.cpp:347: DB::(anonymous namespace)::createAggregateFunctionLargestTriangleThreeBuckets(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015ef3ba8 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:01.494498 [ 27700 ] {17105b59-5dfa-4624-8025-4d60d0bacc93} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain('pAx/(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:01.497049 [ 27700 ] {17105b59-5dfa-4624-8025-4d60d0bacc93} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:01.688110 [ 27700 ] {3868fdef-aa1c-4122-8f80-593624001aa1} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST(JSONArrayLength(NULL), 'DateTime'), (SELECT parseDateTime32BestEffort(46)), (SELECT * FROM jdbc(idnaDecode(''), [parseDateTime64BestEffort('\0')])) AS pgpcu, -5, ''. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((JSONArrayLength(NULL)) AS DateTime)), ( SELECT parseDateTime32BestEffort(46) ) , ( SELECT * FROM jdbc(idnaDecode(''), [parseDateTime64BestEffort('\0')]) ) AS pgpcu, -5, '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:01.690507 [ 27700 ] {3868fdef-aa1c-4122-8f80-593624001aa1} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST(JSONArrayLength(NULL), 'DateTime'), (SELECT parseDateTime32BestEffort(46)), (SELECT * FROM jdbc(idnaDecode(''), [parseDateTime64BestEffort('\0')])) AS pgpcu, -5, ''. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:01.900049 [ 27700 ] {51638815-30b4-44ad-98ba-eb88eeaef80d} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toStartOfTenMinutes. Should be Date, Date32, DateTime or DateTime64: In scope SELECT toLowCardinality(toStartOfTenMinutes(63012772), NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toLowCardinality(toStartOfTenMinutes(63012772), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011ec95cb 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ec70e9 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:01.902897 [ 27700 ] {51638815-30b4-44ad-98ba-eb88eeaef80d} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toStartOfTenMinutes. Should be Date, Date32, DateTime or DateTime64: In scope SELECT toLowCardinality(toStartOfTenMinutes(63012772), NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011ec95cb 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ec70e9 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:02.129003 [ 27700 ] {6b20651e-4ad2-4f66-b2cf-b6590bc54c1a} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'mxm6?HzZ', ( SELECT uniqCombined(( SELECT NULL ) AS pyualwx, ( SELECT * FROM cluster([[]], '\0') ) , [[]]) ) AS wulgi, ( SELECT [], formatQuery(''), NULL ) AS a, (CAST(('\0') AS DateTime)), indexOf(medianTDigest('rovw')), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17d7f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:02.131948 [ 27700 ] {6b20651e-4ad2-4f66-b2cf-b6590bc54c1a} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17d7f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:02.321085 [ 27700 ] {1346bac2-6b1b-46cc-91b2-d7d8db5cef41} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:02.323659 [ 27700 ] {1346bac2-6b1b-46cc-91b2-d7d8db5cef41} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:02.499583 [ 27700 ] {d2af75ef-1367-4847-8d68-8f9a2e13b26d} executeQuery: Code: 42. DB::Exception: Aggregate function stddevPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((STDDEV_POP([], [NULL])) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:244: std::shared_ptr DB::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000149d4435 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:50:02.501834 [ 27700 ] {d2af75ef-1367-4847-8d68-8f9a2e13b26d} TCPHandler: Code: 42. DB::Exception: Aggregate function stddevPop requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:244: std::shared_ptr DB::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000149d4435 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:50:02.517968 [ 27700 ] {9b40f237-04e1-495d-a659-b42a867af198} executeQuery: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:02.520175 [ 27700 ] {9b40f237-04e1-495d-a659-b42a867af198} TCPHandler: Code: 42. DB::Exception: The signature of table function iceberg shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d95f3f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:02.756297 [ 27700 ] {4035cf6c-6031-4637-86ba-9048109e017e} executeQuery: Code: 42. DB::Exception: Number of arguments for function firstLine doesn't match: passed 0, should be 1: In scope SELECT * FROM azureBlobStorageCluster('Mj0', firstLine()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster('Mj0', firstLine());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:02.758411 [ 27700 ] {4035cf6c-6031-4637-86ba-9048109e017e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function firstLine doesn't match: passed 0, should be 1: In scope SELECT * FROM azureBlobStorageCluster('Mj0', firstLine()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:02.946134 [ 27700 ] {919bab0f-be92-4a25-a9a2-374e850300e1} executeQuery: Code: 36. DB::Exception: Unknown geometry type Array(Nullable(Nothing)): In scope SELECT svg([NULL]). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT svg([NULL]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType, DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(std::shared_ptr, DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x0000000011df2eb6 7. /build/src/Functions/svg.cpp:73: DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011df2669 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:02.948658 [ 27700 ] {919bab0f-be92-4a25-a9a2-374e850300e1} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Array(Nullable(Nothing)): In scope SELECT svg([NULL]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType, DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(std::shared_ptr, DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x0000000011df2eb6 7. /build/src/Functions/svg.cpp:73: DB::(anonymous namespace)::FunctionSvg::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011df2669 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 12. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 13. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 14. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:03.150385 [ 27700 ] {639e699c-7d6f-478e-99e1-6876dce981d3} executeQuery: Code: 43. DB::Exception: Second argument for function addDays must be a number: In scope SELECT [NULL], NULL, addDays('\0', 'X+n'), 'X&AX'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [NULL], NULL, addDays('\0', 'X+n'), 'X&AX';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:636: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b7a7d8b 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:03.153068 [ 27700 ] {639e699c-7d6f-478e-99e1-6876dce981d3} TCPHandler: Code: 43. DB::Exception: Second argument for function addDays must be a number: In scope SELECT [NULL], NULL, addDays('\0', 'X+n'), 'X&AX'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:636: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b7a7d8b 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:03.219876 [ 27700 ] {5246e671-7af8-40ff-9db1-4f613fc43412} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis(-700730.71, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:03.222706 [ 27700 ] {5246e671-7af8-40ff-9db1-4f613fc43412} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:03.446932 [ 27700 ] {b11d2fe0-c9c0-4070-9aa3-c09e8441c474} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toIPv4: In scope SELECT toIPv4OrDefault([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIPv4OrDefault([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad0f2c7 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad0e51e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:4523: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc682b 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6626 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc65c0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6560 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc650b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 29. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 30. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 31. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 2025.03.05 21:50:03.449277 [ 27700 ] {b11d2fe0-c9c0-4070-9aa3-c09e8441c474} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toIPv4: In scope SELECT toIPv4OrDefault([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad0f2c7 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ad0e51e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:4523: DB::(anonymous namespace)::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000adc682b 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000adc6626 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000adc65c0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000adc6560 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000adc650b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 29. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 30. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 31. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 2025.03.05 21:50:03.638234 [ 27700 ] {ee23b637-368d-441f-b08b-6bc11ed00fad} executeQuery: Code: 62. DB::Exception: Empty query: In scope (SELECT str_to_date([formatQuery('')], (SELECT * FROM values()) AS znpt)). (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT JSON_EXISTS(( SELECT str_to_date([formatQuery('')], ( SELECT * FROM values() ) AS znpt) ) , ( SELECT 'MI', ( SELECT * FROM iceberg() ) AS he, -672871 ) AS df), ( SELECT punycodeDecode() ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:50:03.640751 [ 27700 ] {ee23b637-368d-441f-b08b-6bc11ed00fad} TCPHandler: Code: 62. DB::Exception: Empty query: In scope (SELECT str_to_date([formatQuery('')], (SELECT * FROM values()) AS znpt)). (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Functions/formatQuery.cpp:114: DB::(anonymous namespace)::FunctionFormatQuery::formatVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, COW::mutable_ptr>&) const @ 0x000000000d8203c5 9. /build/src/Functions/formatQuery.cpp:77: DB::(anonymous namespace)::FunctionFormatQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d81fd71 10. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 12. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 13. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 14. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 15. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 16. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:50:03.847813 [ 27700 ] {dbb74fd5-d60d-465a-a32b-c36b2c05b173} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortUSOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): In scope (SELECT parseDateTime64BestEffortUSOrNull()) AS feekl. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT parseDateTime64BestEffortUSOrNull() ) AS feekl;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2378: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af4079a 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:03.849999 [ 27700 ] {dbb74fd5-d60d-465a-a32b-c36b2c05b173} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortUSOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): In scope (SELECT parseDateTime64BestEffortUSOrNull()) AS feekl. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2378: DB::(anonymous namespace)::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af4079a 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:04.040361 [ 27700 ] {eec7a924-e83a-425b-bd78-4dda0f7b27ea} executeQuery: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS String)), '\0', NULL, ( SELECT * FROM input('\0') ) AS rlr, xxHash32();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Parsers/parseQuery.cpp:398: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404d35 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:118: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d6ce 10. /build/src/TableFunctions/TableFunctionInput.cpp:82: DB::(anonymous namespace)::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d62562 11. /build/src/TableFunctions/TableFunctionInput.cpp:87: DB::(anonymous namespace)::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d62759 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 13. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:04.042462 [ 27700 ] {eec7a924-e83a-425b-bd78-4dda0f7b27ea} TCPHandler: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Parsers/parseQuery.cpp:398: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404d35 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:118: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001bc0d6ce 10. /build/src/TableFunctions/TableFunctionInput.cpp:82: DB::(anonymous namespace)::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d62562 11. /build/src/TableFunctions/TableFunctionInput.cpp:87: DB::(anonymous namespace)::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d62759 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 13. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:04.254895 [ 27700 ] {0a3af6e4-f16c-45c5-8991-418736ce47ab} executeQuery: Code: 42. DB::Exception: Number of arguments for function toYYYYMMDDhhmmss doesn't match: passed 0, should be 1 or 2: In scope SELECT toYYYYMMDDhhmmss(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toYYYYMMDDhhmmss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011ee3a80 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDhhmmssImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ee1a43 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:04.257797 [ 27700 ] {0a3af6e4-f16c-45c5-8991-418736ce47ab} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toYYYYMMDDhhmmss doesn't match: passed 0, should be 1 or 2: In scope SELECT toYYYYMMDDhhmmss(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011ee3a80 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMDDhhmmssImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ee1a43 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:04.329274 [ 27700 ] {c0ee69fb-f3ed-442c-8d67-2141c0d8aa57} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT 'h{[l', CAST(NULL, 'DateTime'), [], CAST(NULL, 'DateTime'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'h{[l', (CAST((NULL) AS DateTime)), [], (CAST((NULL) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:04.331917 [ 27700 ] {c0ee69fb-f3ed-442c-8d67-2141c0d8aa57} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT 'h{[l', CAST(NULL, 'DateTime'), [], CAST(NULL, 'DateTime'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:04.356199 [ 27700 ] {bdaff275-7a11-49a8-9e99-6cb9e3ea0e2b} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonAreaCartesian doesn't match: passed 0, should be 1: In scope SELECT polygonAreaCartesian(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonAreaCartesian();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:04.358781 [ 27700 ] {bdaff275-7a11-49a8-9e99-6cb9e3ea0e2b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonAreaCartesian doesn't match: passed 0, should be 1: In scope SELECT polygonAreaCartesian(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:04.377006 [ 27700 ] {fcc076d0-3db9-460a-9bc1-c08632315788} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.379209 [ 27700 ] {fcc076d0-3db9-460a-9bc1-c08632315788} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.395859 [ 27700 ] {7ca44849-1bcb-4f63-ab53-5dbdadd8d260} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.397551 [ 27700 ] {7ca44849-1bcb-4f63-ab53-5dbdadd8d260} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.595510 [ 27700 ] {dd296993-c909-4284-bd43-fb928d63dce8} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.597548 [ 27700 ] {dd296993-c909-4284-bd43-fb928d63dce8} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:04.642481 [ 27700 ] {b10b177e-09d2-4ef2-8333-03bab03cfcb7} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT * FROM azureBlobStorage(CAST(CAST('', 'Date'), 'Date'), NULL). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage((CAST(((CAST(('') AS Date))) AS Date)), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:04.644370 [ 27700 ] {b10b177e-09d2-4ef2-8333-03bab03cfcb7} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT * FROM azureBlobStorage(CAST(CAST('', 'Date'), 'Date'), NULL). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:04.667135 [ 27700 ] {c6eb4ceb-9d24-4e7c-bc42-a344498d9290} executeQuery: Code: 42. DB::Exception: Number of arguments for function log1p doesn't match: passed 0, should be 1: In scope SELECT -244, log1p(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -244, log1p();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:04.669916 [ 27700 ] {c6eb4ceb-9d24-4e7c-bc42-a344498d9290} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log1p doesn't match: passed 0, should be 1: In scope SELECT -244, log1p(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:04.925872 [ 27700 ] {c0b4c892-48b5-45de-8b48-fc99046b860c} executeQuery: Code: 44. DB::Exception: Illegal type of first argument of function hopStart should be DateTime, Tuple or UInt32: In scope (SELECT hopStart('')). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT serverTimeZone((CAST(('') AS String)), h3ToParent(bar('', (CAST((( SELECT [], [], ['r4A(sNZ4'], [] ) , ( SELECT * FROM hive(( SELECT hopStart('') ) , []) ) ) AS DateTime))), [(CAST((863.7934) AS String))]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/FunctionsTimeWindow.cpp:642: DB::(anonymous namespace)::TimeWindowImpl<(DB::(anonymous namespace)::TimeWindowFunctionName)4>::getReturnType(std::vector> const&, String const&) @ 0x000000000b76b264 7. /build/src/Functions/FunctionsTimeWindow.cpp:702: DB::(anonymous namespace)::FunctionTimeWindow<(DB::(anonymous namespace)::TimeWindowFunctionName)4>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b76ae79 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:50:04.929507 [ 27700 ] {c0b4c892-48b5-45de-8b48-fc99046b860c} TCPHandler: Code: 44. DB::Exception: Illegal type of first argument of function hopStart should be DateTime, Tuple or UInt32: In scope (SELECT hopStart('')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Functions/FunctionsTimeWindow.cpp:642: DB::(anonymous namespace)::TimeWindowImpl<(DB::(anonymous namespace)::TimeWindowFunctionName)4>::getReturnType(std::vector> const&, String const&) @ 0x000000000b76b264 7. /build/src/Functions/FunctionsTimeWindow.cpp:702: DB::(anonymous namespace)::FunctionTimeWindow<(DB::(anonymous namespace)::TimeWindowFunctionName)4>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b76ae79 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 2025.03.05 21:50:05.138549 [ 27700 ] {3bc76620-8d07-4169-9015-339b3458ee4d} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 0, should be 2: In scope (SELECT CAST(visitParamExtractInt(), 'DateTime')) AS v. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster([NULL], ( SELECT (CAST((visitParamExtractInt()) AS DateTime)) ) AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:05.141055 [ 27700 ] {3bc76620-8d07-4169-9015-339b3458ee4d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractInt doesn't match: passed 0, should be 2: In scope (SELECT CAST(visitParamExtractInt(), 'DateTime')) AS v. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:05.187739 [ 27700 ] {aae91aa3-efac-4819-a022-5de152e32a2c} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:05.190287 [ 27700 ] {aae91aa3-efac-4819-a022-5de152e32a2c} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000b04efac 6. /build/src/TableFunctions/TableFunctionExplain.cpp:75: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db9154 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:05.360334 [ 27700 ] {e05c058e-37ef-4bdf-9f60-e7eb176ef791} executeQuery: Code: 42. DB::Exception: Aggregate function varSampStable requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', varSampStable(), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:490: DB::registerAggregateFunctionsStatisticsStable(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x00000000149c86f6 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000149c8618 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000149c8595 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000149c8535 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000149c84dd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:05.362839 [ 27700 ] {e05c058e-37ef-4bdf-9f60-e7eb176ef791} TCPHandler: Code: 42. DB::Exception: Aggregate function varSampStable requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:490: DB::registerAggregateFunctionsStatisticsStable(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x00000000149c86f6 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000149c8618 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000149c8595 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000149c8535 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000149c84dd 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:05.551055 [ 27700 ] {6bb33465-10ec-4df0-a084-b567a7b0f92a} executeQuery: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file([], 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000018d4d989 9. /build/src/TableFunctions/TableFunctionFile.cpp:27: DB::TableFunctionFile::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000018d48f50 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:68: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4e021 11. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:05.553729 [ 27700 ] {6bb33465-10ec-4df0-a084-b567a7b0f92a} TCPHandler: Code: 36. DB::Exception: Argument 'source' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:28: DB::ITableFunctionFileLike::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000018d4d989 9. /build/src/TableFunctions/TableFunctionFile.cpp:27: DB::TableFunctionFile::parseFirstArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000018d48f50 10. /build/src/TableFunctions/ITableFunctionFileLike.cpp:68: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4e021 11. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:05.777209 [ 27700 ] {b4358bb1-0e1d-403a-9ec8-70dd60ed3182} executeQuery: Code: 43. DB::Exception: The 1st and only argument for function arrayCount must be array. Found String instead: In scope SELECT arrayCount('!_OJ'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayCount('!_OJ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const*&&, String&&, String&&) @ 0x000000001211215a 6. /build/src/Functions/array/FunctionArrayMapped.h:183: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001219850d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:05.779348 [ 27700 ] {b4358bb1-0e1d-403a-9ec8-70dd60ed3182} TCPHandler: Code: 43. DB::Exception: The 1st and only argument for function arrayCount must be array. Found String instead: In scope SELECT arrayCount('!_OJ'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, char const*&&, String&&, String&&) @ 0x000000001211215a 6. /build/src/Functions/array/FunctionArrayMapped.h:183: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000001219850d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:05.800590 [ 27700 ] {1aec4ead-e31b-4ad5-8c90-e1e707a94ecb} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT regionToPopulation(CAST('\0', 'Date'), CAST('5DQI$U', 'Date')). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regionToPopulation((CAST(('\0') AS Date)), (CAST(('5DQI$U') AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:05.802657 [ 27700 ] {1aec4ead-e31b-4ad5-8c90-e1e707a94ecb} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT regionToPopulation(CAST('\0', 'Date'), CAST('5DQI$U', 'Date')). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:06.015171 [ 27700 ] {de680d44-fd8e-482f-89cf-cfa821bcf29d} executeQuery: Code: 35. DB::Exception: Function caseWithExpression expects at least 1 arguments: In scope SELECT caseWithExpr(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT caseWithExpr();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/caseWithExpression.cpp:37: DB::(anonymous namespace)::FunctionCaseWithExpression::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ce3e778 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.018856 [ 27700 ] {de680d44-fd8e-482f-89cf-cfa821bcf29d} TCPHandler: Code: 35. DB::Exception: Function caseWithExpression expects at least 1 arguments: In scope SELECT caseWithExpr(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/caseWithExpression.cpp:37: DB::(anonymous namespace)::FunctionCaseWithExpression::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ce3e778 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.211583 [ 27700 ] {fc8ec240-7856-438c-b54c-8b348df1b61d} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function trimRight: In scope SELECT ['404 thNV'], trimRight(3306913.4143), ''. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['404 thNV'], trimRight(3306913.4143), '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString, DB::(anonymous namespace)::TrimModeRight, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011f995d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.214071 [ 27700 ] {fc8ec240-7856-438c-b54c-8b348df1b61d} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function trimRight: In scope SELECT ['404 thNV'], trimRight(3306913.4143), ''. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString, DB::(anonymous namespace)::TrimModeRight, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011f995d1 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.434631 [ 27700 ] {218ad6fa-df54-4185-a459-ad9eea5afa29} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toQuarter. Should be Date, Date32, DateTime or DateTime64: In scope SELECT toQuarter('x3:LkEnN'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toQuarter('x3:LkEnN');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e73feb 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToQuarterImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e729c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.437285 [ 27700 ] {218ad6fa-df54-4185-a459-ad9eea5afa29} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toQuarter. Should be Date, Date32, DateTime or DateTime64: In scope SELECT toQuarter('x3:LkEnN'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e73feb 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:56: DB::FunctionDateOrDateTimeToSomething, DB::ToQuarterImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e729c3 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:06.462731 [ 27700 ] {d02a31fa-fa3d-49f2-904e-04bf2ba6fc90} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Micro, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Micro('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toUnixTimestamp64Micro('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:06.464988 [ 27700 ] {d02a31fa-fa3d-49f2-904e-04bf2ba6fc90} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'value' of function toUnixTimestamp64Micro, expected DateTime64, got String: In scope SELECT toUnixTimestamp64Micro('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionUnixTimestamp64.h:50: DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011ed6c3b 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:06.484342 [ 27700 ] {2ac5ad43-022f-48fe-91a7-fed154dcd478} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure(bitSlice(NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:06.486096 [ 27700 ] {2ac5ad43-022f-48fe-91a7-fed154dcd478} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17f20 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:06.652466 [ 27700 ] {6dceb541-9737-4878-b3a4-dca9946fe530} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: In scope SELECT tupleIntDivOrZeroByNumber(CAST(['\0'], 'Date')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleIntDivOrZeroByNumber((CAST((['\0']) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:50:06.654639 [ 27700 ] {6dceb541-9737-4878-b3a4-dca9946fe530} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: In scope SELECT tupleIntDivOrZeroByNumber(CAST(['\0'], 'Date')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 2025.03.05 21:50:06.845959 [ 27700 ] {827a0659-52ba-4705-8212-d2d420e87616} executeQuery: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Float64. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom(-63994218.81581);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73fccb 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:122: DB::(anonymous namespace)::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d64ebe 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:06.848007 [ 27700 ] {827a0659-52ba-4705-8212-d2d420e87616} TCPHandler: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73fccb 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:122: DB::(anonymous namespace)::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d64ebe 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:06.868338 [ 27700 ] {a12d9533-80d1-4e26-abe1-0e0a7499cca2} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayPushBack doesn't match: passed 0, should be 2: In scope SELECT arrayPushBack(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayPushBack();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:06.870581 [ 27700 ] {a12d9533-80d1-4e26-abe1-0e0a7499cca2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayPushBack doesn't match: passed 0, should be 2: In scope SELECT arrayPushBack(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:06.928918 [ 27700 ] {d128d9cc-4511-4879-9e7c-eb4c93b5ea99} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3EdgeAngle doesn't match: passed 0, should be 1: In scope SELECT quantileBFloat16(h3EdgeAngle()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantileBFloat16(h3EdgeAngle());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:06.932935 [ 27700 ] {d128d9cc-4511-4879-9e7c-eb4c93b5ea99} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3EdgeAngle doesn't match: passed 0, should be 1: In scope SELECT quantileBFloat16(h3EdgeAngle()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:06.967336 [ 27700 ] {22e4fe46-63f8-49c2-9fba-ddcadb6c4e9e} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc(-9897058.13);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:06.971755 [ 27700 ] {22e4fe46-63f8-49c2-9fba-ddcadb6c4e9e} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:07.179861 [ 27700 ] {4b27c2ca-48ed-4b26-966f-70801f7ddebe} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt(NULL, -30021);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:95: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d26388 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:77: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d25c5e 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:07.182367 [ 27700 ] {4b27c2ca-48ed-4b26-966f-70801f7ddebe} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:95: DB::(anonymous namespace)::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d26388 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:77: DB::(anonymous namespace)::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d25c5e 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:07.229045 [ 27700 ] {451c4fca-e900-4963-8b05-821d43239394} executeQuery: Code: 42. DB::Exception: Number of arguments for function BLAKE3 doesn't match: passed 0, should be 1: In scope SELECT BLAKE3(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT BLAKE3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:07.231047 [ 27700 ] {451c4fca-e900-4963-8b05-821d43239394} TCPHandler: Code: 42. DB::Exception: Number of arguments for function BLAKE3 doesn't match: passed 0, should be 1: In scope SELECT BLAKE3(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:07.423995 [ 27700 ] {026f3cd8-de41-435b-8f12-76abde4c1067} executeQuery: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: In scope (SELECT * FROM oss(serverTimeZone(NULL), '\0')) AS ymeep. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM oss(serverTimeZone(NULL), '\0') ) AS ymeep, ( SELECT intHash32() ) AS syp, arrayCompact();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:07.426562 [ 27700 ] {026f3cd8-de41-435b-8f12-76abde4c1067} TCPHandler: Code: 42. DB::Exception: Number of arguments for function serverTimezone doesn't match: passed 1, should be 0: In scope (SELECT * FROM oss(serverTimeZone(NULL), '\0')) AS ymeep. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:07.470320 [ 27700 ] {a64aa6db-85de-4e47-aa08-e07057e31c6e} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: In scope SELECT CAST([], 'Date'), (SELECT * FROM clusterAllReplicas()) AS n, (SELECT (SELECT * FROM redis('', (SELECT toInt128OrDefault((SELECT * FROM azureBlobStorageCluster((SELECT dictGetUInt16()) AS ikwpioqn, (SELECT '\0'), '\0')), '')) AS zerqxiuq, (SELECT __bitBoolMaskAnd()))), (SELECT splitByString(CAST(toStartOfNanosecond([], '2^'), 'DateTime'), reinterpretAsFixedString()))) AS madccog, (SELECT simpleJSONExtractUInt()), []. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date)), ( SELECT * FROM clusterAllReplicas() ) AS n, ( SELECT ( SELECT * FROM redis('', ( SELECT toInt128OrDefault(( SELECT * FROM azureBlobStorageCluster(( SELECT dictGetUInt16() ) AS ikwpioqn, ( SELECT '\0' ) , '\0') ) , '') ) AS zerqxiuq, ( SELECT __bitBoolMaskAnd() ) ) ) , ( SELECT splitByString((CAST((toStartOfNanosecond([], '2^')) AS DateTime)), reinterpretAsFixedString()) ) ) AS madccog, ( SELECT simpleJSONExtractUInt() ) , [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:50:07.472787 [ 27700 ] {a64aa6db-85de-4e47-aa08-e07057e31c6e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: In scope SELECT CAST([], 'Date'), (SELECT * FROM clusterAllReplicas()) AS n, (SELECT (SELECT * FROM redis('', (SELECT toInt128OrDefault((SELECT * FROM azureBlobStorageCluster((SELECT dictGetUInt16()) AS ikwpioqn, (SELECT '\0'), '\0')), '')) AS zerqxiuq, (SELECT __bitBoolMaskAnd()))), (SELECT splitByString(CAST(toStartOfNanosecond([], '2^'), 'DateTime'), reinterpretAsFixedString()))) AS madccog, (SELECT simpleJSONExtractUInt()), []. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:50:07.706781 [ 27700 ] {db85b449-79d1-4d78-aa4d-443372df3e83} executeQuery: Code: 35. DB::Exception: Function ngramMinHashUTF8 expect at least one argument: In scope SELECT ngramMinHashUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramMinHashUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramMinHashUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b70c878 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:07.709072 [ 27700 ] {db85b449-79d1-4d78-aa4d-443372df3e83} TCPHandler: Code: 35. DB::Exception: Function ngramMinHashUTF8 expect at least one argument: In scope SELECT ngramMinHashUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramMinHashUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b70c878 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:07.759831 [ 27700 ] {45ca517e-f652-4ba1-82e3-79f04aad0b9f} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:07.762190 [ 27700 ] {45ca517e-f652-4ba1-82e3-79f04aad0b9f} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d17bfd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:07.962190 [ 27700 ] {6b687ea5-3c19-4524-911a-7b468a6e44d8} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetAll(( SELECT * FROM input('34', '') ) AS d, [-65382]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:64: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d621bd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:07.964762 [ 27700 ] {6b687ea5-3c19-4524-911a-7b468a6e44d8} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:64: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d621bd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:08.170887 [ 27700 ] {df6d2c4b-b891-4be9-aef4-2e015f1b7c18} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'separator' of function splitByChar, expected const String, got Array(Array(Nothing)): In scope SELECT NULL, 17, defaultRoles(['\0'], splitByChar([[]], '\0')), (SELECT visitParamHas()), (SELECT MD5()). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, 17, defaultRoles(['\0'], splitByChar([[]], '\0')), ( SELECT visitParamHas() ) , ( SELECT MD5() ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:08.173560 [ 27700 ] {df6d2c4b-b891-4be9-aef4-2e015f1b7c18} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'separator' of function splitByChar, expected const String, got Array(Array(Nothing)): In scope SELECT NULL, 17, defaultRoles(['\0'], splitByChar([[]], '\0')), (SELECT visitParamHas()), (SELECT MD5()). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000019070c1a 6. /build/src/Functions/FunctionHelpers.cpp:129: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001906f05e 7. /build/src/Functions/FunctionHelpers.cpp:192: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e7e0 8. /build/src/Functions/FunctionTokens.h:197: DB::checkArgumentsWithSeparatorAndOptionalMaxSubstrings(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82dec 9. /build/src/Functions/splitByChar.cpp:48: DB::(anonymous namespace)::SplitByCharImpl::checkArguments(DB::IFunction const&, std::vector> const&) @ 0x0000000011b82cfd 10. /build/src/Functions/FunctionTokens.h:83: DB::FunctionTokens::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011b8261d 11. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 12. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 13. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 14. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:08.374498 [ 27700 ] {a5855c8a-3579-4521-9564-9b6aa918d2eb} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:67: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dbd7d2 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:08.376524 [ 27700 ] {a5855c8a-3579-4521-9564-9b6aa918d2eb} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:67: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dbd7d2 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:08.563068 [ 27700 ] {3ddbafe7-7160-40a9-8fea-7c58a7ce8ea2} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function ilike: In scope SELECT [[]] ILIKE sipHash128Reference(). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ilike([[]], sipHash128Reference());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsStringSearch.h:138: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e62d007 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:08.566190 [ 27700 ] {3ddbafe7-7160-40a9-8fea-7c58a7ce8ea2} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function ilike: In scope SELECT [[]] ILIKE sipHash128Reference(). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsStringSearch.h:138: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1, (DB::HaystackNeedleOrderIsConfigurable)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e62d007 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:08.778133 [ 27700 ] {1cb7e110-eee4-4d70-a8d5-247b44ba9b00} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:08.780646 [ 27700 ] {1cb7e110-eee4-4d70-a8d5-247b44ba9b00} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:08.972708 [ 27700 ] {66468241-a48d-40ca-b984-e19953173641} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Int64. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi(-245345, 'Dv6(AM');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:189: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f37 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:50:08.975381 [ 27700 ] {66468241-a48d-40ca-b984-e19953173641} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Int64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:189: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f37 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:50:09.191991 [ 27700 ] {4f378777-3793-448d-81e4-56d86b388474} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3IsValid. Must be UInt64: In scope SELECT * FROM executable(h3IsValid('')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable(h3IsValid(''));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3IsValid.cpp:42: DB::(anonymous namespace)::FunctionH3IsValid::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e54424a 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:09.194628 [ 27700 ] {4f378777-3793-448d-81e4-56d86b388474} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3IsValid. Must be UInt64: In scope SELECT * FROM executable(h3IsValid('')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3IsValid.cpp:42: DB::(anonymous namespace)::FunctionH3IsValid::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e54424a 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:09.417214 [ 27700 ] {267aefa4-e4c9-4503-a9f6-f99050d9eec3} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionZeros.cpp:59: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d41568 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:09.419240 [ 27700 ] {267aefa4-e4c9-4503-a9f6-f99050d9eec3} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionZeros.cpp:59: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d41568 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:09.435850 [ 27700 ] {e16cdce6-3b1b-4bb4-87bf-5978e6380c0f} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:09.437818 [ 27700 ] {e16cdce6-3b1b-4bb4-87bf-5978e6380c0f} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:09.477121 [ 27700 ] {65cb5377-4967-4fc0-b710-e70dc8d3e2b6} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:09.478920 [ 27700 ] {65cb5377-4967-4fc0-b710-e70dc8d3e2b6} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:09.685936 [ 27700 ] {21bb383b-505d-467c-89a0-898931eabd16} executeQuery: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster(( SELECT ( SELECT * FROM hdfs() ) ) , ( SELECT lower() ) , ( SELECT * FROM hdfsCluster((CAST((quantileExactLow()) AS Date))) ) , ( SELECT * FROM cosn([[NULL]]) ) AS ogh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:09.688336 [ 27700 ] {21bb383b-505d-467c-89a0-898931eabd16} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:09.862665 [ 27700 ] {1880b9af-d4d9-4009-9944-3a017dc8bf7a} executeQuery: Code: 42. DB::Exception: Aggregate function kurtSamp requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT kurtSamp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:244: std::shared_ptr DB::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a21cf5 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:09.865425 [ 27700 ] {1880b9af-d4d9-4009-9944-3a017dc8bf7a} TCPHandler: Code: 42. DB::Exception: Aggregate function kurtSamp requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013770261 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:244: std::shared_ptr DB::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014a21cf5 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:10.102388 [ 27700 ] {38337022-1bfd-4f86-9f09-ede2e3dddb03} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiplyDecimal does not match: 2 or 3 expected: In scope (SELECT multiplyDecimal([])) AS vqfbo. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT multiplyDecimal([]) ) AS vqfbo, ( SELECT '', [[]], __bitWrapperFunc(), (CAST(('\0') AS DateTime)), idnaEncode('`]F`k{') ) , '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsDecimalArithmetics.h:255: DB::FunctionsDecimalArithmetics::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a51fee 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:10.104712 [ 27700 ] {38337022-1bfd-4f86-9f09-ede2e3dddb03} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiplyDecimal does not match: 2 or 3 expected: In scope (SELECT multiplyDecimal([])) AS vqfbo. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsDecimalArithmetics.h:255: DB::FunctionsDecimalArithmetics::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010a51fee 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:10.310749 [ 27700 ] {b530951f-e13f-42c9-b6c6-dd3139b58154} executeQuery: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dc61d8 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dc5fd7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:10.312684 [ 27700 ] {b530951f-e13f-42c9-b6c6-dd3139b58154} TCPHandler: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dc61d8 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dc5fd7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:10.335781 [ 27700 ] {11a93be7-ebcf-4134-9964-f7eb3649325a} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope (SELECT medianExactHigh(CAST(CAST('', 'Date'), 'DateTime'), CAST('\0', 'Date'))) AS qrh. (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:42782) (comment: 00746_sql_fuzzy.sh) (in query: SELECT readWKTPolygon(( SELECT medianExactHigh((CAST(((CAST(('') AS Date))) AS DateTime)), (CAST(('\0') AS Date))) ) AS qrh, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:10.337707 [ 27700 ] {11a93be7-ebcf-4134-9964-f7eb3649325a} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope (SELECT medianExactHigh(CAST(CAST('', 'Date'), 'DateTime'), CAST('\0', 'Date'))) AS qrh. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:24.943868 [ 23618 ] {b94169b0-4993-4d87-b88f-d47ddc0fa622} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:97: DB::(anonymous namespace)::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d43a68 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:24.946345 [ 23618 ] {b94169b0-4993-4d87-b88f-d47ddc0fa622} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:97: DB::(anonymous namespace)::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d43a68 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:25.273830 [ 23618 ] {b69ed40e-f291-403e-872d-9c6467394366} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST('', 'String'), NULL, CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS String)), NULL, (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:25.277134 [ 23618 ] {b69ed40e-f291-403e-872d-9c6467394366} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST('', 'String'), NULL, CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:25.478703 [ 23618 ] {1364a4e1-a0f5-423b-8d3e-b17a2e0ea8eb} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:75: DB::(anonymous namespace)::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d624a5 7. /build/src/TableFunctions/TableFunctionInput.cpp:87: DB::(anonymous namespace)::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d62759 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:25.482651 [ 23618 ] {1364a4e1-a0f5-423b-8d3e-b17a2e0ea8eb} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:75: DB::(anonymous namespace)::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x0000000018d624a5 7. /build/src/TableFunctions/TableFunctionInput.cpp:87: DB::(anonymous namespace)::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d62759 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:25.503884 [ 23618 ] {b3923b4c-a01e-4c86-8d45-c9a8577ac8c9} executeQuery: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 1, should be 2: In scope SELECT addInterval(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addInterval('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:25.507097 [ 23618 ] {b3923b4c-a01e-4c86-8d45-c9a8577ac8c9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 1, should be 2: In scope SELECT addInterval(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:25.534528 [ 23618 ] {ca145e6d-8a42-47bf-abb9-848ce80e82d6} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:67: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dbd7d2 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:25.539925 [ 23618 ] {ca145e6d-8a42-47bf-abb9-848ce80e82d6} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:67: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018dbd7d2 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:175: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018dbf264 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:25.572756 [ 23618 ] {d8622415-6e34-415c-9140-593055158623} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT 'J9bI1', CAST(toStartOfFifteenMinutes([], CAST('\0', 'Date')), 'String'). (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'J9bI1', (CAST((toStartOfFifteenMinutes([], (CAST(('\0') AS Date)))) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:25.578278 [ 23618 ] {d8622415-6e34-415c-9140-593055158623} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT 'J9bI1', CAST(toStartOfFifteenMinutes([], CAST('\0', 'Date')), 'String'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:25.789662 [ 23618 ] {d8e6e2c4-b6af-42ca-9289-646675e1d38b} executeQuery: Code: 42. DB::Exception: Number of arguments for function log10 doesn't match: passed 2, should be 1: In scope (SELECT log10('', ['\0'])) AS d. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toLastDayOfMonth(( SELECT log10('', ['\0']) ) AS d, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:25.794026 [ 23618 ] {d8e6e2c4-b6af-42ca-9289-646675e1d38b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log10 doesn't match: passed 2, should be 1: In scope (SELECT log10('', ['\0'])) AS d. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:25.812953 [ 23618 ] {c73712dd-606e-48e7-8b14-5e84e7fe58e9} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb(')4');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:25.817091 [ 23618 ] {c73712dd-606e-48e7-8b14-5e84e7fe58e9} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:25.835648 [ 23618 ] {1e1ba9b1-dc5e-42cb-923b-d06b2cebb3c0} executeQuery: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:25.839813 [ 23618 ] {1e1ba9b1-dc5e-42cb-923b-d06b2cebb3c0} TCPHandler: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:26.028137 [ 23618 ] {c447dfd7-b44a-440f-b678-0e4281b881f0} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT * FROM redis('\0') ) AS u) AS DateTime)), 'G';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.031859 [ 23618 ] {c447dfd7-b44a-440f-b678-0e4281b881f0} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionRedis.cpp:85: DB::(anonymous namespace)::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6b354 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.220495 [ 23618 ] {3a0a905d-3ace-4138-995d-3036ee7d6ebd} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function timeSlot. Should be Date, Date32, DateTime or DateTime64: In scope SELECT timeSlot(-20458710, ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT timeSlot(-20458710, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e0d0a2 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e0aa29 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.223560 [ 23618 ] {3a0a905d-3ace-4138-995d-3036ee7d6ebd} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function timeSlot. Should be Date, Date32, DateTime or DateTime64: In scope SELECT timeSlot(-20458710, ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000011e0d0a2 7. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:33: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e0aa29 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.244673 [ 23618 ] {dab0a708-f195-4d48-86d1-d397f29eb2a2} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: In scope SELECT mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapUpdate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:26.246680 [ 23618 ] {dab0a708-f195-4d48-86d1-d397f29eb2a2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: In scope SELECT mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:26.293374 [ 23618 ] {a645b75a-3d9a-4e05-9c70-6e4fee703940} executeQuery: Code: 42. DB::Exception: Number of arguments for function cosh doesn't match: passed 0, should be 1: In scope (SELECT cosh()) AS b. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT cosh() ) AS b, (CAST((toDecimal128OrNull(( SELECT intHash32([groupBitmapOr((CAST(((CAST(((CAST(('.nD') AS DateTime))) AS DateTime))) AS DateTime)), -74958833)], -4728507.71) ) , ( SELECT truncate((CAST(('\0') AS DateTime)), []) ) AS bp, '\0')) AS Date)), [[]], 'rKBNTpD';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:26.296741 [ 23618 ] {a645b75a-3d9a-4e05-9c70-6e4fee703940} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cosh doesn't match: passed 0, should be 1: In scope (SELECT cosh()) AS b. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:26.492490 [ 23618 ] {7845890a-b793-412c-b7c0-a104743b3f9e} executeQuery: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT log1p(( SELECT * FROM mergeTreeIndex() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.495091 [ 23618 ] {7845890a-b793-412c-b7c0-a104743b3f9e} TCPHandler: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:26.704867 [ 23618 ] {b021020f-ca00-47a7-88a9-cfba700505fd} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimal32OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT toDecimal32OrZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDecimal32OrZero();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString>, DB::(anonymous namespace)::NameToDecimal32OrZero, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)1, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aeab4a0 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:26.707326 [ 23618 ] {b021020f-ca00-47a7-88a9-cfba700505fd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimal32OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT toDecimal32OrZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString>, DB::(anonymous namespace)::NameToDecimal32OrZero, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)1, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aeab4a0 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:26.900997 [ 23618 ] {17c0984b-caa3-4f24-ae5e-7f67ce7282df} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '', ( SELECT * FROM hudi('', []) ) AS a, ['\0'], '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:26.903572 [ 23618 ] {17c0984b-caa3-4f24-ae5e-7f67ce7282df} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionS3.cpp:85: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77ed7 9. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d8b43f 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:27.114299 [ 23618 ] {0620832b-764f-46a4-b09a-4040aa1c6b75} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:27.116465 [ 23618 ] {0620832b-764f-46a4-b09a-4040aa1c6b75} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, format, structure, compression_method - url, access_key_id, secret_access_key - url, access_key_id, secret_access_key, session_token - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, session_token, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, session_token, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method - url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/TableFunctionS3.cpp:73: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d77dbd 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:27.365790 [ 23618 ] {c025921e-5365-438f-ad39-96046672d4ed} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge([[( SELECT '\0', '', 509484.424 ) , ( SELECT * FROM hdfsCluster('\0', '\0') ) AS uhd]], ( SELECT * FROM numbers_mt() ) AS fqpkai, ( SELECT * FROM dictionary() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:27.369394 [ 23618 ] {c025921e-5365-438f-ad39-96046672d4ed} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:27.587898 [ 23618 ] {14e884c7-3ca0-4b57-b1e7-128588358e7f} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generate_series('\0', (CAST(('\0') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:97: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d2b408 7. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:75: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a9e6 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:27.593764 [ 23618 ] {14e884c7-3ca0-4b57-b1e7-128588358e7f} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:97: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d2b408 7. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:75: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a9e6 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 9. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:27.640879 [ 23618 ] {789c91db-0ac7-4641-844c-1c1d9c47bd50} executeQuery: Code: 43. DB::Exception: Illegal type Array(Int32) of argument of function toDate: In scope (SELECT NULL, '\0', CAST([-2133886], 'Date'), NULL, -3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster([( SELECT NULL, '\0', (CAST(([-2133886]) AS Date)), NULL, -3 ) ], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:50:27.647547 [ 23618 ] {789c91db-0ac7-4641-844c-1c1d9c47bd50} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Int32) of argument of function toDate: In scope (SELECT NULL, '\0', CAST([-2133886], 'Date'), NULL, -3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/FunctionsConversion.cpp:2331: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33d2b 7. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 9. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 10. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 11. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 12. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 13. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 20. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 21. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 22. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 23. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 24. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 25. /build/src/Functions/IFunction.cpp:340: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906268e 26. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 2025.03.05 21:50:27.674852 [ 23618 ] {a7a1db63-8cfb-4978-b561-29391954c3f6} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: In scope SELECT visitParamExtractBool(['@r']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visitParamExtractBool(['@r']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:27.680588 [ 23618 ] {a7a1db63-8cfb-4978-b561-29391954c3f6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractBool doesn't match: passed 1, should be 2: In scope SELECT visitParamExtractBool(['@r']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:28.008436 [ 23618 ] {b10ce46d-0393-4935-8410-3e966123f2a6} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function randExponential, expected Float64 or integer: In scope SELECT toUInt256OrNull(randExponential('\0', []), (SELECT '\0', (SELECT * FROM cosn('\0', '')) AS du, (SELECT * FROM mongodb()) AS guguahv, -3.64), (SELECT * FROM executable('nN}UYy{{')) AS ueyub). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toUInt256OrNull(randExponential('\0', []), ( SELECT '\0', ( SELECT * FROM cosn('\0', '') ) AS du, ( SELECT * FROM mongodb() ) AS guguahv, -3.64 ) , ( SELECT * FROM executable('nN}UYy{{') ) AS ueyub);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/randDistribution.cpp:258: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119b90a5 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:28.012485 [ 23618 ] {b10ce46d-0393-4935-8410-3e966123f2a6} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function randExponential, expected Float64 or integer: In scope SELECT toUInt256OrNull(randExponential('\0', []), (SELECT '\0', (SELECT * FROM cosn('\0', '')) AS du, (SELECT * FROM mongodb()) AS guguahv, -3.64), (SELECT * FROM executable('nN}UYy{{')) AS ueyub). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/randDistribution.cpp:258: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119b90a5 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:28.031209 [ 23618 ] {7bd4e346-3d0b-4e57-b25f-ee74d36f1d7b} executeQuery: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:28.035610 [ 23618 ] {7bd4e346-3d0b-4e57-b25f-ee74d36f1d7b} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:28.249737 [ 23618 ] {5b982437-c0e6-4f38-824b-af32c193869b} executeQuery: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionValues.cpp:115: DB::(anonymous namespace)::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d5d33a 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:28.253175 [ 23618 ] {5b982437-c0e6-4f38-824b-af32c193869b} TCPHandler: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionValues.cpp:115: DB::(anonymous namespace)::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d5d33a 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:28.310880 [ 23618 ] {a0fed417-38a8-4b8e-a492-30308b386d9d} executeQuery: Code: 42. DB::Exception: Function 'notInIgnoreSet' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT notInIgnoreSet();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:28.312977 [ 23618 ] {a0fed417-38a8-4b8e-a492-30308b386d9d} TCPHandler: Code: 42. DB::Exception: Function 'notInIgnoreSet' expects 2 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5594: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b6e45 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:28.358709 [ 23618 ] {80ef82f9-f8a7-413c-9d3d-5a82b73381f0} executeQuery: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT current_database(-8521), '\0', (SELECT '', throwIf(), (SELECT * FROM gcs('DJq5eX;')), (SELECT [], [], (SELECT []) AS wtlcidxn, '') AS djwckceh) AS vjtql, (SELECT '\0', [], '') AS ntkhoook, groupBitmapXor([], 'LY'), JSON_ARRAY_LENGTH([], CAST('\0', 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT current_database(-8521), '\0', ( SELECT '', throwIf(), ( SELECT * FROM gcs('DJq5eX;') ) , ( SELECT [], [], ( SELECT [] ) AS wtlcidxn, '' ) AS djwckceh ) AS vjtql, ( SELECT '\0', [], '' ) AS ntkhoook, groupBitmapXor([], 'LY'), JSON_ARRAY_LENGTH([], (CAST(('\0') AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:28.362286 [ 23618 ] {80ef82f9-f8a7-413c-9d3d-5a82b73381f0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function currentDatabase doesn't match: passed 1, should be 0: In scope SELECT current_database(-8521), '\0', (SELECT '', throwIf(), (SELECT * FROM gcs('DJq5eX;')), (SELECT [], [], (SELECT []) AS wtlcidxn, '') AS djwckceh) AS vjtql, (SELECT '\0', [], '') AS ntkhoook, groupBitmapXor([], 'LY'), JSON_ARRAY_LENGTH([], CAST('\0', 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:28.575714 [ 23618 ] {21e5f814-5cc9-4342-ad4b-129f29f7c8cf} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input([], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:64: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d621bd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:28.578040 [ 23618 ] {21e5f814-5cc9-4342-ad4b-129f29f7c8cf} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionInput.cpp:64: DB::(anonymous namespace)::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d621bd 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:28.757528 [ 23618 ] {c693d30f-17da-47f0-81d6-fbbc3b02a4f6} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3kRing. Must be UInt64: In scope SELECT h3kRing('', ''), 'dm%xVj'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3kRing('', ''), 'dm%xVj';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:49: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e55882a 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:28.759964 [ 23618 ] {c693d30f-17da-47f0-81d6-fbbc3b02a4f6} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 1 of function h3kRing. Must be UInt64: In scope SELECT h3kRing('', ''), 'dm%xVj'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000da38be8 6. /build/src/Functions/h3kRing.cpp:49: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e55882a 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:28.940393 [ 23618 ] {5fe05b25-7e3d-41f6-990f-b9ab50a37b12} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantileExactLow. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianExactLow([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp:49: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014346e3b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:28.942791 [ 23618 ] {5fe05b25-7e3d-41f6-990f-b9ab50a37b12} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantileExactLow. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp:49: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014346e3b 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:28.977520 [ 23618 ] {ff495b73-67a9-4368-a6d2-ea58668f901d} executeQuery: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT hasTokenCaseInsensitiveOrNull(CAST('RlNfhJi', 'DateTime'), NULL), CAST(wordShingleSimHashUTF8((SELECT CAST(18.45645, 'Date'), 6962) AS uxhstp, (SELECT NULL, '', [], []) AS yhqvv), 'Date'), '', (SELECT * FROM sqlite(-74051, '')). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasTokenCaseInsensitiveOrNull((CAST(('RlNfhJi') AS DateTime)), NULL), (CAST((wordShingleSimHashUTF8(( SELECT (CAST((18.45645) AS Date)), 6962 ) AS uxhstp, ( SELECT NULL, '', [], [] ) AS yhqvv)) AS Date)), '', ( SELECT * FROM sqlite(-74051, '') ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:28.980303 [ 23618 ] {ff495b73-67a9-4368-a6d2-ea58668f901d} TCPHandler: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT hasTokenCaseInsensitiveOrNull(CAST('RlNfhJi', 'DateTime'), NULL), CAST(wordShingleSimHashUTF8((SELECT CAST(18.45645, 'Date'), 6962) AS uxhstp, (SELECT NULL, '', [], []) AS yhqvv), 'Date'), '', (SELECT * FROM sqlite(-74051, '')). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:29.206836 [ 23618 ] {fb58cd68-dca6-4164-8ca2-1fb2fb6ee28b} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null([], ( SELECT '' ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNull.cpp:58: DB::(anonymous namespace)::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d2f519 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:29.209271 [ 23618 ] {fb58cd68-dca6-4164-8ca2-1fb2fb6ee28b} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionNull.cpp:58: DB::(anonymous namespace)::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d2f519 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:29.232582 [ 23618 ] {584df9fa-2b60-45dd-80dc-95ee7108e1e7} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiply doesn't match: passed 0, should be 2: In scope SELECT multiply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT multiply();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:29.247750 [ 23618 ] {584df9fa-2b60-45dd-80dc-95ee7108e1e7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiply doesn't match: passed 0, should be 2: In scope SELECT multiply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:29.545599 [ 23618 ] {b0570d7c-74da-438a-956b-85f2c329ef13} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toUUID provided 2 (String, Array(Nullable(Nothing))), expected 1 ('Value' : ): In scope SELECT tupleMinus(toUUID('', [wordShingleMinHashCaseInsensitiveUTF8(NULL)]), -3625678.135). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tupleMinus(toUUID('', [wordShingleMinHashCaseInsensitiveUTF8(NULL)]), -3625678.135);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ad09a40 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ad09900 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad098bd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad0987d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad0983d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad09805 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ad0963b 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acff89a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:50:29.550672 [ 23618 ] {b0570d7c-74da-438a-956b-85f2c329ef13} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toUUID provided 2 (String, Array(Nullable(Nothing))), expected 1 ('Value' : ): In scope SELECT tupleMinus(toUUID('', [wordShingleMinHashCaseInsensitiveUTF8(NULL)]), -3625678.135). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ad09a40 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ad09900 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000ad098bd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000ad0987d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000ad0983d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000ad09805 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ad0963b 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000acff89a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:50:29.972594 [ 23618 ] {9c2eb8c1-9b5d-4238-b8c2-be18a854bd30} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:41: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018daf39e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:29.977683 [ 23618 ] {9c2eb8c1-9b5d-4238-b8c2-be18a854bd30} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:41: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018daf39e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:29.998648 [ 23618 ] {a362e832-5e4c-4dc7-9bcf-353f880b4c69} executeQuery: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT NULL, -4, CAST('\0', 'DateTime'), []. (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, -4, (CAST(('\0') AS DateTime)), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:30.002874 [ 23618 ] {a362e832-5e4c-4dc7-9bcf-353f880b4c69} TCPHandler: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT NULL, -4, CAST('\0', 'DateTime'), []. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:30.089268 [ 23618 ] {16d3d424-3f4c-4349-8759-daef2a4ce092} executeQuery: Code: 42. DB::Exception: Number of arguments for function defaultRoles doesn't match: passed 1, should be 0: In scope SELECT cutFragment(defaultRoles([])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutFragment(defaultRoles([]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:30.091632 [ 23618 ] {16d3d424-3f4c-4349-8759-daef2a4ce092} TCPHandler: Code: 42. DB::Exception: Number of arguments for function defaultRoles doesn't match: passed 1, should be 0: In scope SELECT cutFragment(defaultRoles([])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:30.114618 [ 23618 ] {f5c645b1-9e53-40cb-b7a5-16613968ab4b} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapContains doesn't match: passed 0, should be 2: In scope (SELECT mapContains()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -54902621.2145, ( SELECT mapContains() ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:30.116833 [ 23618 ] {f5c645b1-9e53-40cb-b7a5-16613968ab4b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapContains doesn't match: passed 0, should be 2: In scope (SELECT mapContains()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:30.135976 [ 23618 ] {cd448dec-4ab9-40f3-980c-95a71f4d1206} executeQuery: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:30.138236 [ 23618 ] {cd448dec-4ab9-40f3-980c-95a71f4d1206} TCPHandler: Code: 36. DB::Exception: Host is empty in S3 URI. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/S3/URI.cpp:86: DB::S3::URI::URI(String const&) @ 0x0000000018d84f35 7. /build/src/TableFunctions/TableFunctionS3.cpp:190: DB::TableFunctionS3::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d78f5b 8. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:30.159455 [ 23618 ] {61abbe25-c155-46ce-9fa2-b70c2c3fb210} executeQuery: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 0, should be 2: In scope SELECT arrayAvg(LinfDistance()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayAvg(LinfDistance());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:30.161706 [ 23618 ] {61abbe25-c155-46ce-9fa2-b70c2c3fb210} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 0, should be 2: In scope SELECT arrayAvg(LinfDistance()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:30.392695 [ 23618 ] {fa9d237e-1e16-48ac-8654-6f5a45cb165d} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'Nullable(Nothing)' given. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT leadInFrame([], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/WindowTransform.cpp:2236: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5d381 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionLagLeadInFrame* std::construct_at[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::WindowFunctionLagLeadInFrame*>(DB::WindowFunctionLagLeadInFrame*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5d094 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::WindowFunctionLagLeadInFrame*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5ce51 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5cb37 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5c9aa 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5c936 12. /build/src/Processors/Transforms/WindowTransform.cpp:2617: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_6::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001db49eed 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001db49e98 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001db49e15 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001db49db5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001db49d5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:50:30.395125 [ 23618 ] {fa9d237e-1e16-48ac-8654-6f5a45cb165d} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'Nullable(Nothing)' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/WindowTransform.cpp:2236: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5d381 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionLagLeadInFrame* std::construct_at[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::WindowFunctionLagLeadInFrame*>(DB::WindowFunctionLagLeadInFrame*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5d094 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator>&, DB::WindowFunctionLagLeadInFrame*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5ce51 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5cb37 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5c9aa 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db5c936 12. /build/src/Processors/Transforms/WindowTransform.cpp:2617: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_6::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001db49eed 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001db49e98 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001db49e15 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001db49db5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001db49d5d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 28. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 2025.03.05 21:50:30.419391 [ 23618 ] {985615a2-197e-473d-ba96-6c6e021d4d7d} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc([884987.33695]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:30.423250 [ 23618 ] {985615a2-197e-473d-ba96-6c6e021d4d7d} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:113: DB::(anonymous namespace)::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d9ca28 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:30.448719 [ 23618 ] {98f984ee-5424-4651-92d4-e80a570b5fd7} executeQuery: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT '', '\0', '_vms@E', CAST('\0', 'DateTime'). (CANNOT_PARSE_DATETIME) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '\0', '_vms@E', (CAST(('\0') AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:30.451740 [ 23618 ] {98f984ee-5424-4651-92d4-e80a570b5fd7} TCPHandler: Code: 41. DB::Exception: Cannot parse datetime: Cannot parse DateTime from String: In scope SELECT '', '\0', '_vms@E', CAST('\0', 'DateTime'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.h:989: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc59db 7. /build/src/IO/ReadHelpers.h:1160: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afc58e5 8. /build/src/Functions/FunctionsConversion.cpp:673: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000acd7e94 9. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000acd6ff3 10. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000acd6a6f 11. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000accb7db 12. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000acb0798 13. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acafe3c 14. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000acaefbe 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 16. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 17. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 18. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 19. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 20. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 27. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 28. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 29. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 30. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 31. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 2025.03.05 21:50:30.650744 [ 23618 ] {d7c985ac-0b68-44c8-ae0e-a54d2951ad7d} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires from 1 to 2 parameters: merge(['db_name',] 'tables_regexp'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['\0'], '', '\0', in(( SELECT * FROM merge() ) AS hqk, ( SELECT emptyArrayInt8(( SELECT demangle() ) AS zbmgenec, ( SELECT * FROM fuzzJSON('O }lC&Cq', [NULL]) ) ) ) , '\0'), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMerge.cpp:120: DB::(anonymous namespace)::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d0f516 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:30.652901 [ 23618 ] {d7c985ac-0b68-44c8-ae0e-a54d2951ad7d} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires from 1 to 2 parameters: merge(['db_name',] 'tables_regexp'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMerge.cpp:120: DB::(anonymous namespace)::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d0f516 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:30.703209 [ 23618 ] {3acf3f4a-ba89-4060-939d-2e53057d52ff} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitiveUTF8 doesn't match: passed 0, should be 2: In scope SELECT multiSearchAllPositionsCaseInsensitiveUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT multiSearchAllPositionsCaseInsensitiveUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:30.705483 [ 23618 ] {3acf3f4a-ba89-4060-939d-2e53057d52ff} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiSearchAllPositionsCaseInsensitiveUTF8 doesn't match: passed 0, should be 2: In scope SELECT multiSearchAllPositionsCaseInsensitiveUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:30.904597 [ 23618 ] {a50b9ba7-b57f-426f-9eb3-a6ba195397e3} executeQuery: Code: 43. DB::Exception: Argument 0 of function tupleMinus should be tuple, got String: In scope (SELECT -711, NULL, L2SquaredDistance('', ''), [';k'], NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb(( SELECT -711, NULL, L2SquaredDistance('', ''), [';k'], NULL ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/vectorFunctions.cpp:64: DB::FunctionTupleOperator::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011fc3434 7. /build/src/Functions/vectorFunctions.cpp:1229: DB::FunctionLDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012001d33 8. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012000c01 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:30.906651 [ 23618 ] {a50b9ba7-b57f-426f-9eb3-a6ba195397e3} TCPHandler: Code: 43. DB::Exception: Argument 0 of function tupleMinus should be tuple, got String: In scope (SELECT -711, NULL, L2SquaredDistance('', ''), [';k'], NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/vectorFunctions.cpp:64: DB::FunctionTupleOperator::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011fc3434 7. /build/src/Functions/vectorFunctions.cpp:1229: DB::FunctionLDistance::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012001d33 8. /build/src/Functions/vectorFunctions.cpp:1433: DB::TupleOrArrayFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012000c01 9. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 10. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 11. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 12. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:31.163819 [ 23618 ] {65e8a8e0-5399-45aa-bafa-f8c7eebaf703} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: In scope SELECT '3A9ckF2d', '9', NULL, indexHint(CAST(dictGetDateOrDefault(), 'DateTime')), arrayReduce(CAST(-5123.6, 'String'), CAST(CAST('\0', 'Date'), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '3A9ckF2d', '9', NULL, indexHint((CAST((dictGetDateOrDefault()) AS DateTime))), arrayReduce((CAST((-5123.6) AS String)), (CAST(((CAST(('\0') AS Date))) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsExternalDictionaries.h:363: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b016c51 7. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b041448 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:50:31.166754 [ 23618 ] {65e8a8e0-5399-45aa-bafa-f8c7eebaf703} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: In scope SELECT '3A9ckF2d', '9', NULL, indexHint(CAST(dictGetDateOrDefault(), 'DateTime')), arrayReduce(CAST(-5123.6, 'String'), CAST(CAST('\0', 'Date'), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionsExternalDictionaries.h:363: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b016c51 7. /build/src/Functions/FunctionsExternalDictionaries.h:852: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b041448 8. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 10. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 11. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 12. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 26. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 2025.03.05 21:50:31.358543 [ 23618 ] {b428abc9-fb62-4f77-9cbf-1f37fc558675} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST([CAST(NULL, 'String')], 'DateTime'), NULL. (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([(CAST((NULL) AS String))]) AS DateTime)), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:31.360911 [ 23618 ] {b428abc9-fb62-4f77-9cbf-1f37fc558675} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT CAST([CAST(NULL, 'String')], 'DateTime'), NULL. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:31.590452 [ 23618 ] {d25d0348-4ecb-480e-8782-35701158dea4} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUInt128OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT rand64(toUInt128OrNull()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT rand64(toUInt128OrNull());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString>, DB::(anonymous namespace)::NameToUInt128OrNull, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)2, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aec88e3 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:31.594632 [ 23618 ] {d25d0348-4ecb-480e-8782-35701158dea4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUInt128OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: In scope SELECT rand64(toUInt128OrNull()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/FunctionsConversion.cpp:2396: DB::(anonymous namespace)::FunctionConvertFromString>, DB::(anonymous namespace)::NameToUInt128OrNull, (DB::(anonymous namespace)::ConvertFromStringExceptionMode)2, (DB::(anonymous namespace)::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000aec88e3 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:31.852033 [ 23618 ] {1eb23167-13b5-4669-873d-d56589e4583f} executeQuery: Code: 36. DB::Exception: Function exponentialTimeDecayedMax takes exactly one parameter. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT exponentialTimeDecayedMax('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Processors/Transforms/WindowTransform.cpp:1764: DB::WindowFunctionExponentialTimeDecayedMax::getDecayLength(DB::Array const&, String const&) @ 0x000000001db60ec1 7. /build/src/Processors/Transforms/WindowTransform.cpp:1773: DB::WindowFunctionExponentialTimeDecayedMax::WindowFunctionExponentialTimeDecayedMax(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db609bb 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionExponentialTimeDecayedMax* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionExponentialTimeDecayedMax*>(DB::WindowFunctionExponentialTimeDecayedMax*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db608d4 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionExponentialTimeDecayedMax*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60691 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60377 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db601ea 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60176 13. /build/src/Processors/Transforms/WindowTransform.cpp:2631: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_8::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001db4a5ed 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001db4a598 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001db4a515 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001db4a4b5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001db4a45d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:50:31.854841 [ 23618 ] {1eb23167-13b5-4669-873d-d56589e4583f} TCPHandler: Code: 36. DB::Exception: Function exponentialTimeDecayedMax takes exactly one parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Processors/Transforms/WindowTransform.cpp:1764: DB::WindowFunctionExponentialTimeDecayedMax::getDecayLength(DB::Array const&, String const&) @ 0x000000001db60ec1 7. /build/src/Processors/Transforms/WindowTransform.cpp:1773: DB::WindowFunctionExponentialTimeDecayedMax::WindowFunctionExponentialTimeDecayedMax(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db609bb 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionExponentialTimeDecayedMax* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionExponentialTimeDecayedMax*>(DB::WindowFunctionExponentialTimeDecayedMax*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db608d4 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionExponentialTimeDecayedMax*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60691 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60377 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db601ea 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001db60176 13. /build/src/Processors/Transforms/WindowTransform.cpp:2631: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_8::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001db4a5ed 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001db4a598 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001db4a515 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001db4a4b5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001db4a45d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 29. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 2025.03.05 21:50:31.874314 [ 23618 ] {12897898-55c1-4238-822a-0c98c16f6109} executeQuery: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 0, should be 2: In scope SELECT LpNorm(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT LpNorm();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:31.876726 [ 23618 ] {12897898-55c1-4238-822a-0c98c16f6109} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LpNorm doesn't match: passed 0, should be 2: In scope SELECT LpNorm(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:31.893530 [ 23618 ] {01c1e1b2-b029-4f58-9263-c326efa9a305} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:31.895348 [ 23618 ] {01c1e1b2-b029-4f58-9263-c326efa9a305} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:32.089533 [ 23618 ] {26d5e655-d7f6-43d6-bffe-47da8227410e} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [[]], ( SELECT * FROM s3Cluster() ) AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d880b8 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d87eb7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:32.094276 [ 23618 ] {26d5e655-d7f6-43d6-bffe-47da8227410e} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, session_token, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d880b8 7. /build/src/TableFunctions/TableFunctionS3.cpp:238: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d79d84 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d87eb7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:32.297267 [ 23618 ] {13d10969-26a1-4a46-aee8-456abd55cd91} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d5a30d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d535f7 9. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d59eb7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:32.301991 [ 23618 ] {13d10969-26a1-4a46-aee8-456abd55cd91} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d5a30d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d535f7 9. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d59eb7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:32.535850 [ 23618 ] {cf302be2-ac5f-47a1-8485-9a2929dd0265} executeQuery: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/TableFunctionURL.cpp:74: DB::TableFunctionURL::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d53b4b 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d535f7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:32.539828 [ 23618 ] {cf302be2-ac5f-47a1-8485-9a2929dd0265} TCPHandler: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:61: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d4deca 7. /build/src/TableFunctions/TableFunctionURL.cpp:74: DB::TableFunctionURL::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d53b4b 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d535f7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:32.645508 [ 23618 ] {2332514c-daa9-41e2-94fc-32382fb20721} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:32.650327 [ 23618 ] {2332514c-daa9-41e2-94fc-32382fb20721} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:32.857583 [ 23618 ] {f507878c-6868-4bd0-849c-069bdc445487} executeQuery: Code: 36. DB::Exception: Default value type should be same as cast type. Expected IPv4. Actual Nullable(Nothing): In scope SELECT ngrams(toIPv4OrDefault([NULL], NULL)). (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngrams(toIPv4OrDefault([NULL], NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce48217 7. /build/src/Functions/castOrDefault.cpp:290: DB::FunctionCastOrDefaultTyped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce4a706 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:32.860171 [ 23618 ] {f507878c-6868-4bd0-849c-069bdc445487} TCPHandler: Code: 36. DB::Exception: Default value type should be same as cast type. Expected IPv4. Actual Nullable(Nothing): In scope SELECT ngrams(toIPv4OrDefault([NULL], NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce48217 7. /build/src/Functions/castOrDefault.cpp:290: DB::FunctionCastOrDefaultTyped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ce4a706 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:50:33.085379 [ 23618 ] {38289a3b-df2f-4b5a-8558-da98e7107271} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT positive_modulo(polygonsSymDifferenceSpherical('\0', ( SELECT * FROM mysql() ) AS qxopv));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.087837 [ 23618 ] {38289a3b-df2f-4b5a-8558-da98e7107271} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001c488072 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:82: DB::(anonymous namespace)::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018da7532 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.112923 [ 23618 ] {66ce69e7-719b-426d-bc6d-ec7c2ec7ad80} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT [], 28199.1, [CAST('', 'Date')]. (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], 28199.1, [(CAST(('') AS Date))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:33.115248 [ 23618 ] {66ce69e7-719b-426d-bc6d-ec7c2ec7ad80} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope SELECT [], 28199.1, [CAST('', 'Date')]. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:33.315892 [ 23618 ] {f30a1ee0-4d66-4121-8e0c-a7124c9fbefb} executeQuery: Code: 36. DB::Exception: Unknown explain kind ''. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain('\0', e());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Parsers/ASTExplainQuery.h:66: DB::ASTExplainQuery::fromString(String const&) @ 0x0000000018dbaf7c 7. /build/src/TableFunctions/TableFunctionExplain.cpp:85: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db93f9 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:33.318172 [ 23618 ] {f30a1ee0-4d66-4121-8e0c-a7124c9fbefb} TCPHandler: Code: 36. DB::Exception: Unknown explain kind ''. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Parsers/ASTExplainQuery.h:66: DB::ASTExplainQuery::fromString(String const&) @ 0x0000000018dbaf7c 7. /build/src/TableFunctions/TableFunctionExplain.cpp:85: DB::(anonymous namespace)::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db93f9 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:33.339119 [ 23618 ] {69bf4a24-69a7-4a77-9143-811358c917cf} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleIntDiv doesn't match: passed 0, should be 2: In scope SELECT * FROM url('\0', CAST(tupleIntDiv(), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url('\0', (CAST((tupleIntDiv()) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:33.341072 [ 23618 ] {69bf4a24-69a7-4a77-9143-811358c917cf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleIntDiv doesn't match: passed 0, should be 2: In scope SELECT * FROM url('\0', CAST(tupleIntDiv(), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 20. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 31. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 2025.03.05 21:50:33.531441 [ 23618 ] {d39dd551-4fde-491a-bcc1-eacb413fb4db} executeQuery: Code: 701. DB::Exception: Requested cluster '*in6]VWO' not found. (CLUSTER_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM fileCluster('*in6]VWO');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d5156d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d51117 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.533440 [ 23618 ] {d39dd551-4fde-491a-bcc1-eacb413fb4db} TCPHandler: Code: 701. DB::Exception: Requested cluster '*in6]VWO' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d5156d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d51117 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.553552 [ 23618 ] {6b23f839-b343-4749-a325-21fc0a147197} executeQuery: Code: 42. DB::Exception: Number of arguments for function intExp10 doesn't match: passed 0, should be 1: In scope SELECT '\0', intExp10(), YYYYMMDDToDate32(''), parseDateTime64BestEffortUSOrZero(':59_pV<'), UTCTimestamp(551.5). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', intExp10(), YYYYMMDDToDate32(''), parseDateTime64BestEffortUSOrZero(':59_pV<'), UTCTimestamp(551.5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:33.555406 [ 23618 ] {6b23f839-b343-4749-a325-21fc0a147197} TCPHandler: Code: 42. DB::Exception: Number of arguments for function intExp10 doesn't match: passed 0, should be 1: In scope SELECT '\0', intExp10(), YYYYMMDDToDate32(''), parseDateTime64BestEffortUSOrZero(':59_pV<'), UTCTimestamp(551.5). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:33.586408 [ 23618 ] {c39ea0e2-0069-4eb6-8ac9-871b49dc2627} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope (SELECT [''], CAST('', 'Date'), svg(), NULL, [0]) AS vyckmq. (CANNOT_PARSE_DATE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt256OrDefault(( SELECT [''], (CAST(('') AS Date)), svg(), NULL, [0] ) AS vyckmq, ( SELECT reinterpretAsInt16('', ( SELECT * FROM generate_series() ) AS hvxida, ( SELECT * FROM urlCluster([NULL], (CAST(('\0') AS DateTime))) ) ) ) AS ail, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:33.588733 [ 23618 ] {c39ea0e2-0069-4eb6-8ac9-871b49dc2627} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: In scope (SELECT [''], CAST('', 'Date'), svg(), NULL, [0]) AS vyckmq. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/IO/ReadHelpers.cpp:1142: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013376d7f 7. /build/src/IO/ReadHelpers.cpp:1166: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x00000000133769d1 8. /build/src/IO/ReadHelpers.h:783: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000afc1a92 9. /build/src/IO/ReadHelpers.h:807: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee72a 10. /build/src/IO/ReadHelpers.h:838: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000afee6e5 11. /build/src/Functions/FunctionsConversion.cpp:655: void DB::(anonymous namespace)::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000ae4029f 12. /build/src/Functions/FunctionsConversion.cpp:1021: COW::immutable_ptr DB::(anonymous namespace)::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000ae3e56d 13. /build/src/Functions/FunctionsConversion.cpp:1545: COW::immutable_ptr DB::(anonymous namespace)::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::(anonymous namespace)::BehaviourOnErrorFromString, void*) @ 0x000000000ae3d8cf 14. /build/src/Functions/FunctionsConversion.cpp:2264: bool DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)::operator()>(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString) const @ 0x000000000ae35b7b 15. /build/src/Core/callOnTypeIndex.h:205: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString>(DB::TypeIndex, DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, DB::(anonymous namespace)::BehaviourOnErrorFromString)&, DB::(anonymous namespace)::BehaviourOnErrorFromString&&) @ 0x000000000ae34118 16. /build/src/Functions/FunctionsConversion.cpp:2319: DB::(anonymous namespace)::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae33c2d 17. /build/src/Functions/FunctionsConversion.cpp:2110: DB::(anonymous namespace)::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ae3301e 18. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 19. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 20. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 21. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 22. /build/src/Functions/IFunction.h:138: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000a9437d2 23. /build/src/Functions/FunctionsConversion.cpp:3149: DB::(anonymous namespace)::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000aab45f0 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000aab4586 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000aab4520 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000aab44c0 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000aab446b 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af4c3a7 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af4abc0 30. /build/src/Functions/FunctionsConversion.cpp:3048: DB::(anonymous namespace)::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa68f4f 31. /build/src/Functions/IFunction.h:61: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a944059 2025.03.05 21:50:33.605140 [ 23618 ] {34136aae-eb79-4322-a4d1-5975d550ac31} executeQuery: Code: 42. DB::Exception: Table function 'generate_series' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generate_series();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:72: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a908 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.606918 [ 23618 ] {34136aae-eb79-4322-a4d1-5975d550ac31} TCPHandler: Code: 42. DB::Exception: Table function 'generate_series' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/TableFunctions/TableFunctionGenerateSeries.cpp:72: DB::(anonymous namespace)::TableFunctionGenerateSeries<0ul>::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d2a908 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 8. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.624257 [ 23618 ] {d06b23e6-1ce7-4b11-9b15-dc3cb3ac90f1} executeQuery: Code: 42. DB::Exception: Number of arguments for function idnaDecode doesn't match: passed 0, should be 1: In scope SELECT accurateCastOrDefault(-952.01, [idnaDecode()]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT accurateCastOrDefault(-952.01, [idnaDecode()]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.626176 [ 23618 ] {d06b23e6-1ce7-4b11-9b15-dc3cb3ac90f1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function idnaDecode doesn't match: passed 0, should be 1: In scope SELECT accurateCastOrDefault(-952.01, [idnaDecode()]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.810694 [ 23618 ] {97705dd7-ac98-44ff-ad46-99bacfc7f95b} executeQuery: Code: 42. DB::Exception: Function formatRow requires at least two arguments: the format name and its output expression(s): In scope SELECT formatRow(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatRow();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/formatRow.cpp:131: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000d833679 7. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001906425e 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:33.814574 [ 23618 ] {97705dd7-ac98-44ff-ad46-99bacfc7f95b} TCPHandler: Code: 42. DB::Exception: Function formatRow requires at least two arguments: the format name and its output expression(s): In scope SELECT formatRow(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/formatRow.cpp:131: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000d833679 7. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001906425e 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 21:50:33.835100 [ 23618 ] {be7db092-9d5d-4bd5-a51e-97c3f267d063} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ToGeo doesn't match: passed 0, should be 1: In scope SELECT [[h3ToGeo()]], 'P/b ', '9 H_', 'N32sx'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [[h3ToGeo()]], 'P/b ', '9 H_', 'N32sx';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.839730 [ 23618 ] {be7db092-9d5d-4bd5-a51e-97c3f267d063} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ToGeo doesn't match: passed 0, should be 1: In scope SELECT [[h3ToGeo()]], 'P/b ', '9 H_', 'N32sx'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:50:33.855894 [ 23618 ] {cc618331-7a7c-47c8-ad96-c3c02099165f} executeQuery: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster_name, uri - cluster_name, uri, format - cluster_name, uri, format, structure - cluster_name, uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d996f8 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.859615 [ 23618 ] {cc618331-7a7c-47c8-ad96-c3c02099165f} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster_name, uri - cluster_name, uri, format - cluster_name, uri, format, structure - cluster_name, uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/TableFunctions/ITableFunctionCluster.h:52: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d996f8 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:33.874641 [ 23618 ] {6d6cc868-50ca-4777-9cfa-4a4513e5c7e2} executeQuery: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mergeTreeIndex();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:33.878480 [ 23618 ] {6d6cc868-50ca-4777-9cfa-4a4513e5c7e2} TCPHandler: Code: 42. DB::Exception: Table function 'mergeTreeIndex' must have 2 or 3 arguments, got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/TableFunctions/TableFunctionMergeTreeIndex.cpp:54: DB::TableFunctionMergeTreeIndex::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d6dd62 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:34.085064 [ 23618 ] {2de79e47-ed7b-43e9-a13a-d4733077f544} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73fccb 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f9c7 8. /build/src/TableFunctions/TableFunctionZeros.cpp:74: DB::(anonymous namespace)::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d401c4 9. /build/src/TableFunctions/TableFunctionZeros.cpp:62: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d3fe46 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 11. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:34.089641 [ 23618 ] {2de79e47-ed7b-43e9-a13a-d4733077f544} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73fccb 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f9c7 8. /build/src/TableFunctions/TableFunctionZeros.cpp:74: DB::(anonymous namespace)::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x0000000018d401c4 9. /build/src/TableFunctions/TableFunctionZeros.cpp:62: DB::(anonymous namespace)::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000018d3fe46 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x00000000190c44db 11. /build/src/Interpreters/Context.cpp:2014: DB::Context::executeTableFunction(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a548e48 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7558: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a5029 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:34.306665 [ 23618 ] {1fb46bf9-9992-4bec-af4e-b2690d99d13c} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT fromUnixTimestampInJodaSyntax(( SELECT * FROM hdfsCluster('\0', 6) ) AS ka, ( SELECT [], (CAST((NULL) AS Date)), [( SELECT * FROM executable(NULL, []) ) ], '' ) AS bg);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:34.310523 [ 23618 ] {1fb46bf9-9992-4bec-af4e-b2690d99d13c} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/TableFunctions/ITableFunctionCluster.h:61: DB::ITableFunctionCluster::parseArgumentsImpl(absl::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000018d9994d 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d4dda1 8. /build/src/TableFunctions/ITableFunctionCluster.h:46: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d994f7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 21:50:34.505220 [ 23618 ] {bbedfcf0-3d22-4d47-b370-8ea15b09dd91} executeQuery: Code: 36. DB::Exception: Argument 'data' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format(['']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionFormat.cpp:76: DB::(anonymous namespace)::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db3305 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:34.508986 [ 23618 ] {bbedfcf0-3d22-4d47-b370-8ea15b09dd91} TCPHandler: Code: 36. DB::Exception: Argument 'data' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x0000000010ef1ca8 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:39: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001c73f868 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:22: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001c73f51c 8. /build/src/TableFunctions/TableFunctionFormat.cpp:76: DB::(anonymous namespace)::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018db3305 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 28. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 29. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 2025.03.05 21:50:34.525556 [ 23618 ] {20da26a1-6084-43e3-9206-340697ed550c} executeQuery: Code: 42. DB::Exception: Number of arguments for function tgamma doesn't match: passed 0, should be 1: In scope SELECT tgamma(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tgamma();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:34.528378 [ 23618 ] {20da26a1-6084-43e3-9206-340697ed550c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tgamma doesn't match: passed 0, should be 1: In scope SELECT tgamma(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:34.742274 [ 23618 ] {fa60f13a-6d33-432f-8b67-58d84f06b081} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ce6ac73 6. /build/src/Storages/StoragePostgreSQL.cpp:506: DB::StoragePostgreSQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001c490960 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:77: DB::(anonymous namespace)::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018daa85e 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:34.745039 [ 23618 ] {fa60f13a-6d33-432f-8b67-58d84f06b081} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000ce6ac73 6. /build/src/Storages/StoragePostgreSQL.cpp:506: DB::StoragePostgreSQL::getConfiguration(absl::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001c490960 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:77: DB::(anonymous namespace)::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018daa85e 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:50:34.768447 [ 23618 ] {06df5805-7883-45db-9ed8-d19a288e2e9e} executeQuery: Code: 42. DB::Exception: Number of arguments for function SHA512_256 doesn't match: passed 2, should be 1: In scope SELECT SHA512_256('i@', [[NULL]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT SHA512_256('i@', [[NULL]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:34.770948 [ 23618 ] {06df5805-7883-45db-9ed8-d19a288e2e9e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function SHA512_256 doesn't match: passed 2, should be 1: In scope SELECT SHA512_256('i@', [[NULL]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.057768 [ 23618 ] {ed4eb811-2e99-4b0f-9c61-91fb437a1c6b} executeQuery: Code: 36. DB::Exception: The function 'leadInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT leadInFrame((CAST((-5.3580) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/WindowTransform.cpp:1513: DB::WindowFunction::fail() const @ 0x000000001db55e0c 7. ? @ 0x000000001db54b05 8. /build/src/AggregateFunctions/IAggregateFunction.h:536: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001db55251 9. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatchSinglePlace(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*, DB::Arena*) @ 0x000000001a72e3d6 10. /build/src/Interpreters/Aggregator.cpp:1344: DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*, bool) const @ 0x000000001a72e825 11. /build/src/Interpreters/Aggregator.cpp:1611: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7307c8 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 21:50:35.072905 [ 23618 ] {ed4eb811-2e99-4b0f-9c61-91fb437a1c6b} TCPHandler: Code: 36. DB::Exception: The function 'leadInFrame' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Transforms/WindowTransform.cpp:1513: DB::WindowFunction::fail() const @ 0x000000001db55e0c 7. ? @ 0x000000001db54b05 8. /build/src/AggregateFunctions/IAggregateFunction.h:536: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001db55251 9. /build/src/Interpreters/Aggregator.cpp:0: DB::Aggregator::addBatchSinglePlace(unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*, DB::Arena*) @ 0x000000001a72e3d6 10. /build/src/Interpreters/Aggregator.cpp:1344: DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*, bool) const @ 0x000000001a72e825 11. /build/src/Interpreters/Aggregator.cpp:1611: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7307c8 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 21:50:35.089209 [ 23618 ] {2105f18f-aca7-44e4-aab8-494c7b276b04} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:35.091175 [ 23618 ] {2105f18f-aca7-44e4-aab8-494c7b276b04} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:86: DB::(anonymous namespace)::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d67747 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7414: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3fef 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 21:50:35.318665 [ 23618 ] {a0e6c8a7-8377-4fc1-a9f8-307a9cba0043} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT addressToLineWithInlines(CAST(NULL, 'DateTime'), [(SELECT * FROM dictionary(-5976.4924, [])) AS ykczb, (SELECT CAST(CAST(((SELECT * FROM gcs(NULL, REGEXP_REPLACE((SELECT * FROM mongodb('wbBF2', [CAST(tryIdnaEncode((SELECT anyLast(['\0'], '\0')), []), 'DateTime')])) AS v))), (SELECT * FROM generateSeries([])) AS iweaedm), 'Date'), 'String'), '', '\0', '')]). (CANNOT_CONVERT_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addressToLineWithInlines((CAST((NULL) AS DateTime)), [( SELECT * FROM dictionary(-5976.4924, []) ) AS ykczb, ( SELECT (CAST(((CAST((( SELECT * FROM gcs(NULL, REGEXP_REPLACE(( SELECT * FROM mongodb('wbBF2', [(CAST((tryIdnaEncode(( SELECT anyLast(['\0'], '\0') ) , [])) AS DateTime))]) ) AS v)) ) , ( SELECT * FROM generateSeries([]) ) AS iweaedm) AS Date))) AS String)), '', '\0', '' ) ]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:35.321578 [ 23618 ] {a0e6c8a7-8377-4fc1-a9f8-307a9cba0043} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: In scope SELECT addressToLineWithInlines(CAST(NULL, 'DateTime'), [(SELECT * FROM dictionary(-5976.4924, [])) AS ykczb, (SELECT CAST(CAST(((SELECT * FROM gcs(NULL, REGEXP_REPLACE((SELECT * FROM mongodb('wbBF2', [CAST(tryIdnaEncode((SELECT anyLast(['\0'], '\0')), []), 'DateTime')])) AS v))), (SELECT * FROM generateSeries([])) AS iweaedm), 'Date'), 'String'), '', '\0', '')]). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionsConversion.cpp:4406: DB::(anonymous namespace)::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000aa687a3 7. /build/src/Functions/FunctionsConversion.cpp:3106: DB::(anonymous namespace)::FunctionCast::prepare(std::vector> const&) const @ 0x000000000aa680dc 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6178: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc88d 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:50:35.338051 [ 23618 ] {969e8bf8-6ada-4991-8823-1eb9716325c3} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 0, should be 2: In scope SELECT h3Line(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3Line();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.340251 [ 23618 ] {969e8bf8-6ada-4991-8823-1eb9716325c3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 0, should be 2: In scope SELECT h3Line(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.598299 [ 23618 ] {74171e16-94d6-4c15-b719-9ad4f6eaa83e} executeQuery: Code: 42. DB::Exception: Number of arguments for function concatWithSeparatorAssumeInjective doesn't match: passed 0, should be at least 1: In scope SELECT concatWithSeparatorAssumeInjective(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT concatWithSeparatorAssumeInjective();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/concatWithSeparator.cpp:46: DB::(anonymous namespace)::ConcatWithSeparatorImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ce70a89 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:35.604111 [ 23618 ] {74171e16-94d6-4c15-b719-9ad4f6eaa83e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function concatWithSeparatorAssumeInjective doesn't match: passed 0, should be at least 1: In scope SELECT concatWithSeparatorAssumeInjective(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000a8fe2ac 6. /build/src/Functions/concatWithSeparator.cpp:46: DB::(anonymous namespace)::ConcatWithSeparatorImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ce70a89 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:50:35.626955 [ 23618 ] {bc67426a-1509-4c1f-b975-c85251a5ed09} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 1, should be 4: In scope SELECT s2CapUnion('3=fo'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT s2CapUnion('3=fo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.630005 [ 23618 ] {bc67426a-1509-4c1f-b975-c85251a5ed09} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 1, should be 4: In scope SELECT s2CapUnion('3=fo'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.842984 [ 23618 ] {d6aa0e2e-cd72-48b4-b866-235aae3411e1} executeQuery: Code: 43. DB::Exception: All arguments for function arrayUniq must be arrays but argument 1 has type String.: In scope SELECT CAST(regionIn(arrayUniq(CAST((SELECT 's/04}K'), 'String')), NULL), 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((regionIn(arrayUniq((CAST((( SELECT 's/04}K' ) ) AS String))), NULL)) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/array/arrayUniq.cpp:55: DB::FunctionArrayUniq::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012cbc6c4 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:35.845057 [ 23618 ] {d6aa0e2e-cd72-48b4-b866-235aae3411e1} TCPHandler: Code: 43. DB::Exception: All arguments for function arrayUniq must be arrays but argument 1 has type String.: In scope SELECT CAST(regionIn(arrayUniq(CAST((SELECT 's/04}K'), 'String')), NULL), 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/array/arrayUniq.cpp:55: DB::FunctionArrayUniq::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012cbc6c4 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 25. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:50:35.862515 [ 23618 ] {32abcfc3-a888-4576-83d1-f9c51157e6bd} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT fromDaysSinceYearZero32();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:35.864672 [ 23618 ] {32abcfc3-a888-4576-83d1-f9c51157e6bd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromDaysSinceYearZero32 doesn't match: passed 0, should be 1: In scope SELECT fromDaysSinceYearZero32(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 17. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 28. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 29. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 30. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 31. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 2025.03.05 21:50:36.122427 [ 23618 ] {5be17044-d215-4ed2-b2c3-f18dd3dc04f9} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toFloat32 provided 0, expected 1 ('Value' : ): In scope (SELECT toFloat32()) AS gokodpv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIPv4OrNull(( SELECT toFloat32() ) AS gokodpv, ( SELECT * FROM mergeTreeIndex(distanceL2Squared()) ) AS x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abedf40 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000abede00 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000abeddbd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000abedd7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000abedd3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000abedd05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abedb3b 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abe361a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 2025.03.05 21:50:36.124914 [ 23618 ] {5be17044-d215-4ed2-b2c3-f18dd3dc04f9} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toFloat32 provided 0, expected 1 ('Value' : ): In scope (SELECT toFloat32()) AS gokodpv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001907043d 6. /build/src/Functions/FunctionHelpers.cpp:184: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001906e545 7. /build/src/Functions/FunctionsConversion.cpp:2037: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000abedf40 8. /build/src/Functions/FunctionsConversion.cpp:1999: auto DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000abede00 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000000abeddbd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000000abedd7d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000000abedd3d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000000abedd05 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000000af6d1de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000000af6bf5d 15. /build/src/Functions/FunctionsConversion.cpp:1994: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000abedb3b 16. /build/src/Functions/FunctionsConversion.cpp:2000: DB::(anonymous namespace)::FunctionConvert, DB::(anonymous namespace)::NameToFloat32, DB::(anonymous namespace)::ToNumberMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000abe361a 17. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 18. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 19. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 20. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 31. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 2025.03.05 21:50:36.376033 [ 23618 ] {5ec2546d-9a11-4718-afdd-efa231da7bd7} executeQuery: Code: 42. DB::Exception: Number of arguments for function empty doesn't match: passed 0, should be 1: In scope (SELECT empty()) AS qb. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:36548) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain([( SELECT empty() ) AS qb, ( SELECT dictGetChildren('/zlDt)d', toIPv6OrZero('zddG', '')) ) ], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:36.379054 [ 23618 ] {5ec2546d-9a11-4718-afdd-efa231da7bd7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function empty doesn't match: passed 0, should be 1: In scope (SELECT empty()) AS qb. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000016b79368 6. /build/src/Functions/IFunction.cpp:431: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001906396f 7. /build/src/Functions/IFunction.cpp:497: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000019063e36 8. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 9. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6519: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a1662 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7387: DB::(anonymous namespace)::QueryAnalyzer::resolveTableFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&, bool) @ 0x000000001b0a3d2e 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7917: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001b0a9ab8 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8164: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bad6 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:50:37.848598 [ 730 ] {54e91b6b-ba97-4a08-a9ad-4a60116f5ca2} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_sc4kh3hd.`.inner_id.edb9a8d7-557c-412d-8582-893edca9d113` (98d5a9d8-46c5-4edf-b5fa-a571c161eb70)'. Merges are processing significantly slower than inserts: while pushing to view test_sc4kh3hd.b (edb9a8d7-557c-412d-8582-893edca9d113). (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:44030) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001d0a1c96 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:50:37.855185 [ 730 ] {54e91b6b-ba97-4a08-a9ad-4a60116f5ca2} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_sc4kh3hd.`.inner_id.edb9a8d7-557c-412d-8582-893edca9d113` (98d5a9d8-46c5-4edf-b5fa-a571c161eb70)'. Merges are processing significantly slower than inserts: while pushing to view test_sc4kh3hd.b (edb9a8d7-557c-412d-8582-893edca9d113). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001d0a1c96 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 21:51:10.484943 [ 20529 ] {dcafed8a-e998-4f72-a0cc-d6e1dad06b4b} executeQuery: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual Int8: In scope SELECT tupleElement(CAST(1, 'Int8'), sumState(0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT tupleElement(CAST(1 AS Int8),sumState(0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011fa6080 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:10.486937 [ 20529 ] {dcafed8a-e998-4f72-a0cc-d6e1dad06b4b} TCPHandler: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual Int8: In scope SELECT tupleElement(CAST(1, 'Int8'), sumState(0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011fa6080 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:10.887671 [ 20529 ] {f8e36a0b-d168-40be-8865-d2c785cc1803} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(Date)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(0, 'Nullable(Date)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int8),CAST( 0 AS Nullable(Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.889961 [ 20529 ] {f8e36a0b-d168-40be-8865-d2c785cc1803} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(Date)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(0, 'Nullable(Date)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.912170 [ 20529 ] {ceaafcc1-c248-4985-980d-f0f4cb800a58} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(0, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int8),CAST( 0 AS Nullable(DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.914368 [ 20529 ] {ceaafcc1-c248-4985-980d-f0f4cb800a58} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(0, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.936806 [ 20529 ] {732d261a-cf61-40f2-bfb0-d235a9038230} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(Enum8('0' = 0, 'z' = 1))) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST('0', 'Nullable(Enum8(\'0\' = 0, \'z\' = 1))'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int8),CAST( '0' AS Nullable(Enum8('0' = 0, 'z' = 1))));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.938565 [ 20529 ] {732d261a-cf61-40f2-bfb0-d235a9038230} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(Enum8('0' = 0, 'z' = 1))) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST('0', 'Nullable(Enum8(\'0\' = 0, \'z\' = 1))'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.989229 [ 20529 ] {c3b171f4-eb59-4e54-9189-639e96c711ee} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(Date)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(NULL, 'Nullable(Date)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int8),CAST(NULL AS Nullable(Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:10.991316 [ 20529 ] {c3b171f4-eb59-4e54-9189-639e96c711ee} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(Date)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(NULL, 'Nullable(Date)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:11.019157 [ 20529 ] {e9e153a9-5ec1-4c97-a867-93be264bca60} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(NULL, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int8),CAST(NULL AS Nullable(DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:11.021674 [ 20529 ] {e9e153a9-5ec1-4c97-a867-93be264bca60} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int8') OR CAST(NULL, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:11.051884 [ 20529 ] {68ddd821-3981-46ae-9865-34c888bba2d7} executeQuery: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int64') OR CAST(NULL, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT or(CAST(1 AS Int64),CAST(NULL AS Nullable(DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:11.054570 [ 20529 ] {68ddd821-3981-46ae-9865-34c888bba2d7} TCPHandler: Code: 43. DB::Exception: Illegal type (Nullable(DateTime)) of 2 argument of function or: In scope SELECT CAST(1, 'Int64') OR CAST(NULL, 'Nullable(DateTime)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000a92ec08 6. /build/src/Functions/FunctionsLogical.cpp:540: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000190a7c95 7. /build/src/Functions/IFunction.h:532: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a8ee60c 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:51:11.532247 [ 20529 ] {1142d6ac-3e0b-44d9-8c74-7373f9876338} executeQuery: Code: 44. DB::Exception: Second argument for function toFixedString must be unsigned integer: In scope SELECT toFixedString('', CAST(9223372036854775807, 'Int64')). (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT toFixedString('',CAST(9223372036854775807 as Int64));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:50: DB::FunctionToFixedString::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e4ae8d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:11.535834 [ 20529 ] {1142d6ac-3e0b-44d9-8c74-7373f9876338} TCPHandler: Code: 44. DB::Exception: Second argument for function toFixedString must be unsigned integer: In scope SELECT toFixedString('', CAST(9223372036854775807, 'Int64')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/toFixedString.h:50: DB::FunctionToFixedString::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011e4ae8d 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:12.607968 [ 20529 ] {c74b2f31-eb4f-4b0a-bb2e-4fce0594445f} executeQuery: Code: 43. DB::Exception: First argument for function arrayReduce must be constant string: name of aggregate function.: In scope SELECT arrayReduce(sumState(0), CAST(1, 'Int8')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT arrayReduce(sumState(0),CAST(1 AS Int8));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayReduce.cpp:82: DB::FunctionArrayReduce::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83b25 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:12.609932 [ 20529 ] {c74b2f31-eb4f-4b0a-bb2e-4fce0594445f} TCPHandler: Code: 43. DB::Exception: First argument for function arrayReduce must be constant string: name of aggregate function.: In scope SELECT arrayReduce(sumState(0), CAST(1, 'Int8')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/array/arrayReduce.cpp:82: DB::FunctionArrayReduce::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012c83b25 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:478: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063dd5 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:51:13.026646 [ 20529 ] {bdfef259-2c69-4044-b7cb-792469487062} executeQuery: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT uniqUpToArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.029894 [ 20529 ] {bdfef259-2c69-4044-b7cb-792469487062} TCPHandler: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.071442 [ 20529 ] {ebfcd7c4-041a-4d93-99d4-7fd9a33e3373} executeQuery: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT uniqCombinedArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.075182 [ 20529 ] {ebfcd7c4-041a-4d93-99d4-7fd9a33e3373} TCPHandler: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.126416 [ 20529 ] {e453fe12-58d2-4976-acc0-3cc36f2e1aed} executeQuery: Code: 46. DB::Exception: Function with name 'uniqCombinedBiasCorrectedArray' does not exist. In scope SELECT uniqCombinedBiasCorrectedArray([CAST(0, 'Int8')], arrayPopBack([CAST(0, 'Int8')])). (UNKNOWN_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT uniqCombinedBiasCorrectedArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:51:13.128497 [ 20529 ] {e453fe12-58d2-4976-acc0-3cc36f2e1aed} TCPHandler: Code: 46. DB::Exception: Function with name 'uniqCombinedBiasCorrectedArray' does not exist. In scope SELECT uniqCombinedBiasCorrectedArray([CAST(0, 'Int8')], arrayPopBack([CAST(0, 'Int8')])). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:51:13.174945 [ 20529 ] {6b7854a2-6f97-4b95-b136-784afae63d44} executeQuery: Code: 46. DB::Exception: Function with name 'uniqCombinedLinearCountingArray' does not exist. In scope SELECT uniqCombinedLinearCountingArray([CAST(0, 'Int8')], arrayPopBack([CAST(0, 'Int8')])). (UNKNOWN_FUNCTION) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT uniqCombinedLinearCountingArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:51:13.177048 [ 20529 ] {6b7854a2-6f97-4b95-b136-784afae63d44} TCPHandler: Code: 46. DB::Exception: Function with name 'uniqCombinedLinearCountingArray' does not exist. In scope SELECT uniqCombinedLinearCountingArray([CAST(0, 'Int8')], arrayPopBack([CAST(0, 'Int8')])). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000016430988 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5966: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baba4 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 13. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 24. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 25. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 26. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 27. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 28. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 2025.03.05 21:51:13.219753 [ 20529 ] {83b7d31d-b81a-4b51-8adb-717b4a86d964} executeQuery: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT uniqExactArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.225197 [ 20529 ] {83b7d31d-b81a-4b51-8adb-717b4a86d964} TCPHandler: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.300532 [ 20529 ] {a03a8ce1-0a16-4253-a8d3-57119b1500f8} executeQuery: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT COVAR_POPArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.306787 [ 20529 ] {a03a8ce1-0a16-4253-a8d3-57119b1500f8} TCPHandler: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.352712 [ 20529 ] {84fa32e4-3268-4e18-b34a-3e6f742d3311} executeQuery: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT COVAR_SAMPArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.357732 [ 20529 ] {84fa32e4-3268-4e18-b34a-3e6f742d3311} TCPHandler: Code: 190. DB::Exception: Lengths of all arrays passed to aggregate function must be equal.: While executing AggregatingTransform. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/FunctionHelpers.cpp:215: DB::checkAndGetNestedArrayOffset(DB::IColumn const**, unsigned long) @ 0x000000001906f598 7. /build/src/Interpreters/Aggregator.cpp:1509: DB::Aggregator::prepareAggregateInstructions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, std::vector>, std::allocator>>>&, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector>&, std::vector>, std::allocator>>>&) const @ 0x000000001a72f6d6 8. /build/src/Interpreters/Aggregator.cpp:1595: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a730639 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 10. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 13. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 14. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 15. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 22. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 23. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 27. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 2025.03.05 21:51:13.512816 [ 20529 ] {b395bf6d-69e0-431b-a6bc-c1fb5cb4b5d3} executeQuery: Code: 43. DB::Exception: Second argument (weight) for function quantileTimingWeighted must be unsigned integer, but it has type Int8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT medianTimingWeightedArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int8)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:98: DB::AggregateFunctionQuantile<_BitInt(8), DB::QuantileTiming, DB::NameQuantileTimingWeighted, true, float, false, false>::AggregateFunctionQuantile(std::vector, std::vector::allocator> const&, DB::Array const&) @ 0x00000000144d9f26 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: _ZNSt3__112construct_atB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS_9allocatorISC_EEEERKNS1_5ArrayEEPS7_EEPT_SN_DpOT0_ @ 0x00000000144d9aea 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: _ZNSt3__116allocator_traitsINS_9allocatorIN2DB25AggregateFunctionQuantileIDB8_NS2_14QuantileTimingIS4_EENS2_26NameQuantileTimingWeightedELb1EfLb0ELb0EEEEEE9constructB6v15000IS8_JRKNS_6vectorINS_10shared_ptrIKNS2_9IDataTypeEEENS1_ISG_EEEERKNS2_5ArrayEEvvEEvRS9_PT_DpOT0_ @ 0x00000000144d98a9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: _ZNSt3__120__shared_ptr_emplaceIN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEENS_9allocatorIS7_EEEC2B6v15000IJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS8_ISG_EEEERKNS1_5ArrayEEEES9_DpOT_ @ 0x00000000144d958f 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: _ZNSt3__115allocate_sharedB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEENS_9allocatorIS7_EEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS8_ISE_EEEERKNS1_5ArrayEEvEENSB_IT_EERKT0_DpOT1_ @ 0x00000000144d93ff 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::IDataType, DB::NameQuantileTimingWeighted, true, float, false, false>> std::make_shared[abi:v15000], DB::NameQuantileTimingWeighted, true, float, false, false>, std::vector, std::allocator> const&, DB::Array const&, void>(std::vector, std::allocator> const&, DB::Array const&) @ 0x00000000144cd14e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp:38: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000144cc468 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:51:13.515196 [ 20529 ] {b395bf6d-69e0-431b-a6bc-c1fb5cb4b5d3} TCPHandler: Code: 43. DB::Exception: Second argument (weight) for function quantileTimingWeighted must be unsigned integer, but it has type Int8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000ba9314c 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:98: DB::AggregateFunctionQuantile<_BitInt(8), DB::QuantileTiming, DB::NameQuantileTimingWeighted, true, float, false, false>::AggregateFunctionQuantile(std::vector, std::vector::allocator> const&, DB::Array const&) @ 0x00000000144d9f26 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: _ZNSt3__112construct_atB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS_9allocatorISC_EEEERKNS1_5ArrayEEPS7_EEPT_SN_DpOT0_ @ 0x00000000144d9aea 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: _ZNSt3__116allocator_traitsINS_9allocatorIN2DB25AggregateFunctionQuantileIDB8_NS2_14QuantileTimingIS4_EENS2_26NameQuantileTimingWeightedELb1EfLb0ELb0EEEEEE9constructB6v15000IS8_JRKNS_6vectorINS_10shared_ptrIKNS2_9IDataTypeEEENS1_ISG_EEEERKNS2_5ArrayEEvvEEvRS9_PT_DpOT0_ @ 0x00000000144d98a9 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: _ZNSt3__120__shared_ptr_emplaceIN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEENS_9allocatorIS7_EEEC2B6v15000IJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS8_ISG_EEEERKNS1_5ArrayEEEES9_DpOT_ @ 0x00000000144d958f 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: _ZNSt3__115allocate_sharedB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_14QuantileTimingIS3_EENS1_26NameQuantileTimingWeightedELb1EfLb0ELb0EEENS_9allocatorIS7_EEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS8_ISE_EEEERKNS1_5ArrayEEvEENSB_IT_EERKT0_DpOT1_ @ 0x00000000144d93ff 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::IDataType, DB::NameQuantileTimingWeighted, true, float, false, false>> std::make_shared[abi:v15000], DB::NameQuantileTimingWeighted, true, float, false, false>, std::vector, std::allocator> const&, DB::Array const&, void>(std::vector, std::allocator> const&, DB::Array const&) @ 0x00000000144cd14e 12. /build/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp:38: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000144cc468 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 30. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 2025.03.05 21:51:13.667702 [ 20529 ] {2ab4f785-a9b8-422d-bce4-0da308f357e4} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT quantilesDeterministicArray([CAST( 0 AS Int8)],arrayPopBack([CAST( 0 AS Int32)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile<_BitInt(8), DB::(anonymous namespace)::QuantileReservoirSamplerDeterministic, DB::NameQuantilesDeterministic, true, double, true, false>::AggregateFunctionQuantile(std::vector, std::vector::allocator> const&, DB::Array const&) @ 0x0000000014022bda 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: _ZNSt3__112construct_atB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS_9allocatorISD_EEEERKNS1_5ArrayEEPS8_EEPT_SO_DpOT0_ @ 0x0000000014022a8a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: _ZNSt3__116allocator_traitsINS_9allocatorIN2DB25AggregateFunctionQuantileIDB8_NS2_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS4_EENS2_26NameQuantilesDeterministicELb1EdLb1ELb0EEEEEE9constructB6v15000IS9_JRKNS_6vectorINS_10shared_ptrIKNS2_9IDataTypeEEENS1_ISH_EEEERKNS2_5ArrayEEvvEEvRSA_PT_DpOT0_ @ 0x0000000014022849 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: _ZNSt3__120__shared_ptr_emplaceIN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEENS_9allocatorIS8_EEEC2B6v15000IJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS9_ISH_EEEERKNS1_5ArrayEEEESA_DpOT_ @ 0x000000001402252f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: _ZNSt3__115allocate_sharedB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEENS_9allocatorIS8_EEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS9_ISF_EEEERKNS1_5ArrayEEvEENSC_IT_EERKT0_DpOT1_ @ 0x000000001402239f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::IDataType, DB::NameQuantilesDeterministic, true, double, true, false>> std::make_shared[abi:v15000], DB::NameQuantilesDeterministic, true, double, true, false>, std::vector, std::allocator> const&, DB::Array const&, void>(std::vector, std::allocator> const&, DB::Array const&) @ 0x0000000014015e0e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp:128: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013fe2828 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 23. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:51:13.669853 [ 20529 ] {2ab4f785-a9b8-422d-bce4-0da308f357e4} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/QuantilesCommon.h:47: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x0000000013f9017c 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile<_BitInt(8), DB::(anonymous namespace)::QuantileReservoirSamplerDeterministic, DB::NameQuantilesDeterministic, true, double, true, false>::AggregateFunctionQuantile(std::vector, std::vector::allocator> const&, DB::Array const&) @ 0x0000000014022bda 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: _ZNSt3__112construct_atB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS_9allocatorISD_EEEERKNS1_5ArrayEEPS8_EEPT_SO_DpOT0_ @ 0x0000000014022a8a 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: _ZNSt3__116allocator_traitsINS_9allocatorIN2DB25AggregateFunctionQuantileIDB8_NS2_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS4_EENS2_26NameQuantilesDeterministicELb1EdLb1ELb0EEEEEE9constructB6v15000IS9_JRKNS_6vectorINS_10shared_ptrIKNS2_9IDataTypeEEENS1_ISH_EEEERKNS2_5ArrayEEvvEEvRSA_PT_DpOT0_ @ 0x0000000014022849 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: _ZNSt3__120__shared_ptr_emplaceIN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEENS_9allocatorIS8_EEEC2B6v15000IJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS9_ISH_EEEERKNS1_5ArrayEEEESA_DpOT_ @ 0x000000001402252f 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: _ZNSt3__115allocate_sharedB6v15000IN2DB25AggregateFunctionQuantileIDB8_NS1_12_GLOBAL__N_137QuantileReservoirSamplerDeterministicIS3_EENS1_26NameQuantilesDeterministicELb1EdLb1ELb0EEENS_9allocatorIS8_EEJRKNS_6vectorINS_10shared_ptrIKNS1_9IDataTypeEEENS9_ISF_EEEERKNS1_5ArrayEEvEENSC_IT_EERKT0_DpOT1_ @ 0x000000001402239f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::IDataType, DB::NameQuantilesDeterministic, true, double, true, false>> std::make_shared[abi:v15000], DB::NameQuantilesDeterministic, true, double, true, false>, std::vector, std::allocator> const&, DB::Array const&, void>(std::vector, std::allocator> const&, DB::Array const&) @ 0x0000000014015e0e 13. /build/src/AggregateFunctions/AggregateFunctionQuantileDeterministic.cpp:128: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013fe2828 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 23. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 29. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 30. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 31. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 2025.03.05 21:51:13.830599 [ 20529 ] {7b1b2977-3225-41f0-bdbe-e9510c48ab65} executeQuery: Code: 43. DB::Exception: Illegal types Array(Nothing) and Array(Nothing) of argument for aggregate function maxIntersections. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT maxIntersections([], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:202: DB::(anonymous namespace)::createAggregateFunctionMaxIntersections(DB::(anonymous namespace)::AggregateFunctionIntersectionsKind, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015b56b83 7. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:215: DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015b56a0f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015b569b8 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015b56955 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015b568f5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015b5689d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:51:13.832792 [ 20529 ] {7b1b2977-3225-41f0-bdbe-e9510c48ab65} TCPHandler: Code: 43. DB::Exception: Illegal types Array(Nothing) and Array(Nothing) of argument for aggregate function maxIntersections. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x00000000139e4fa8 6. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:202: DB::(anonymous namespace)::createAggregateFunctionMaxIntersections(DB::(anonymous namespace)::AggregateFunctionIntersectionsKind, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015b56b83 7. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:215: DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x0000000015b56a0f 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000015b569b8 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000015b56955 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000015b568f5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000015b5689d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 21:51:13.993730 [ 20529 ] {cfc74ac4-abe5-437b-9976-e909d40f768e} executeQuery: Code: 43. DB::Exception: Illegal type Nothing of argument for aggregate function sum. (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT sumMap([], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfe67 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:51:13.995885 [ 20529 ] {cfc74ac4-abe5-437b-9976-e909d40f768e} TCPHandler: Code: 43. DB::Exception: Illegal type Nothing of argument for aggregate function sum. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/AggregateFunctions/AggregateFunctionSum.cpp:66: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSum(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014bdfe67 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000137cb698 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x00000000137cb635 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000137cb5d5 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000137cb55d 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190bed19 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190bb435 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:210: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b992c 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:248: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9dd8 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 24. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 2025.03.05 21:51:14.179178 [ 20529 ] {01b3f8a3-b129-4823-9eec-41b50000844f} executeQuery: Code: 42. DB::Exception: -Array aggregate functions require at least one argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:44020) (comment: 00534_filimonov.sh) (in query: SELECT countArray();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionArray.cpp:29: DB::(anonymous namespace)::AggregateFunctionCombinatorArray::transformArguments(std::vector, std::allocator>> const&) const @ 0x0000000015efd583 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:245: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9d82 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:51:14.181197 [ 20529 ] {01b3f8a3-b129-4823-9eec-41b50000844f} TCPHandler: Code: 42. DB::Exception: -Array aggregate functions require at least one argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/AggregateFunctions/Combinators/AggregateFunctionArray.cpp:29: DB::(anonymous namespace)::AggregateFunctionCombinatorArray::transformArguments(std::vector, std::allocator>> const&) const @ 0x0000000015efd583 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:245: DB::AggregateFunctionFactory::getImpl(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x00000000190b9d82 8. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:123: DB::AggregateFunctionFactory::get(String const&, DB::NullsAction, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x00000000190b8946 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5983: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0baddf 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 16. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 27. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 28. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 29. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 30. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 31. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 2025.03.05 21:51:41.149967 [ 7118 ] {563a22b7-4bf6-4e41-a9e1-557bf4799da6} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (9000) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 0).). 2025.03.05 21:51:48.183792 [ 730 ] {365ca9a2-6c8f-4d4e-be8d-3c19563fc1f1} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `VasyaUnexistingColumn` to drop. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:44536) (comment: 00446_clear_column_in_partition_concurrent_zookeeper.sh) (in query: ALTER TABLE clear_column1 CLEAR COLUMN VasyaUnexistingColumn IN PARTITION '200001'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:51:48.185905 [ 730 ] {365ca9a2-6c8f-4d4e-be8d-3c19563fc1f1} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `VasyaUnexistingColumn` to drop. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:51:48.865112 [ 730 ] {a951d06b-854f-4a57-9f23-5d01ed15965a} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 2 ('error'): error here . Expected one of: Query, Query with output, EXPLAIN, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER|MERGES 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW FUNCTIONS query, SHOW FUNCTIONS, SHOW INDEXES query, SHOW SETTING query, SHOW SETTING, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER TEMPORARY TABLE, ALTER DATABASE, RENAME query, RENAME DATABASE, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK ALL TABLES, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, BACKUP or RESTORE query, BACKUP, RESTORE, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, START TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE. (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:35776) (in query: error here ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:51:48.867240 [ 730 ] {a951d06b-854f-4a57-9f23-5d01ed15965a} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 2 ('error'): error here . Expected one of: Query, Query with output, EXPLAIN, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER|MERGES 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW FUNCTIONS query, SHOW FUNCTIONS, SHOW INDEXES query, SHOW SETTING query, SHOW SETTING, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER TEMPORARY TABLE, ALTER DATABASE, RENAME query, RENAME DATABASE, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK ALL TABLES, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, BACKUP or RESTORE query, BACKUP, RESTORE, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, START TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:51:58.095922 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 0).). 2025.03.05 21:51:58.114330 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9000).). 2025.03.05 21:51:58.114675 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9001).). 2025.03.05 21:51:58.115041 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9002).). 2025.03.05 21:51:58.115398 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9003).). 2025.03.05 21:51:58.115703 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9004).). 2025.03.05 21:51:58.116001 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9005).). 2025.03.05 21:51:58.116291 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9006).). 2025.03.05 21:51:58.116582 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9007).). 2025.03.05 21:51:58.116878 [ 27699 ] {3e78e381-04f7-4a8d-a36c-6a49d721d856::19700101_19700101_1_3_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0, 9008).). 2025.03.05 21:52:23.631421 [ 27701 ] {b8b5e35d-de2e-4743-b9d3-dde8d1cb577f} executeQuery: Code: 42. DB::Exception: Function arrayPartialSort needs at least 2 arguments, passed 1: In scope SELECT arrayPartialSort([1, 2, 3]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayPartialSort([1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x0000000012111dc4 6. /build/src/Functions/array/FunctionArrayMapped.h:170: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130450 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:23.632256 [ 27701 ] {b8b5e35d-de2e-4743-b9d3-dde8d1cb577f} TCPHandler: Code: 42. DB::Exception: Function arrayPartialSort needs at least 2 arguments, passed 1: In scope SELECT arrayPartialSort([1, 2, 3]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x0000000012111dc4 6. /build/src/Functions/array/FunctionArrayMapped.h:170: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130450 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:23.813241 [ 27701 ] {aff066d9-059a-48a4-b523-2f9ea22ec4be} executeQuery: Code: 43. DB::Exception: First argument for function arrayPartialSort must be a function. Actual UInt8: In scope SELECT arrayPartialSort(2, [1, 2, 3], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayPartialSort(2, [1,2,3], [1]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130c2a 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:23.814298 [ 27701 ] {aff066d9-059a-48a4-b523-2f9ea22ec4be} TCPHandler: Code: 43. DB::Exception: First argument for function arrayPartialSort must be a function. Actual UInt8: In scope SELECT arrayPartialSort(2, [1, 2, 3], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130c2a 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:23.830856 [ 27701 ] {f9819e47-bd44-4457-ab15-9ed58f30a544} executeQuery: Code: 43. DB::Exception: First argument for function arrayPartialSort must be a function. Actual UInt8: In scope SELECT arrayPartialSort(2, [1, 2, 3], 3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayPartialSort(2, [1,2,3], 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130c2a 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:23.831551 [ 27701 ] {f9819e47-bd44-4457-ab15-9ed58f30a544} TCPHandler: Code: 43. DB::Exception: First argument for function arrayPartialSort must be a function. Actual UInt8: In scope SELECT arrayPartialSort(2, [1, 2, 3], 3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Functions/array/FunctionArrayMapped.h:217: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130c2a 7. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 8. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 9. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 10. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 18. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 29. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 30. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 2025.03.05 21:52:24.031249 [ 27701 ] {0d2c7eb4-786e-456e-84ae-c6b01cbf4fb3} executeQuery: Code: 43. DB::Exception: Illegal type Array(UInt8) of limit argument of function arrayPartialSort (must be UInt or Int): In scope SELECT arrayPartialSort(arraySort([1, 2, 3]), [1, 2, 3]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayPartialSort(arraySort([1,2,3]), [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/array/arraySort.h:44: DB::ArraySortImpl::checkArguments(String const&, DB::ColumnWithTypeAndName const*) @ 0x0000000012132218 7. /build/src/Functions/array/FunctionArrayMapped.h:193: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130715 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:52:24.032279 [ 27701 ] {0d2c7eb4-786e-456e-84ae-c6b01cbf4fb3} TCPHandler: Code: 43. DB::Exception: Illegal type Array(UInt8) of limit argument of function arrayPartialSort (must be UInt or Int): In scope SELECT arrayPartialSort(arraySort([1, 2, 3]), [1, 2, 3]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/array/arraySort.h:44: DB::ArraySortImpl::checkArguments(String const&, DB::ColumnWithTypeAndName const*) @ 0x0000000012132218 7. /build/src/Functions/array/FunctionArrayMapped.h:193: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130715 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 19. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 30. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 31. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 2025.03.05 21:52:24.294896 [ 27701 ] {914fa426-dc08-4f10-8e01-ae08bab14bff} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(UInt8)) of limit argument of function arrayPartialSort (must be UInt or Int): In scope SELECT arrayMap(x -> range(x), [4, 1, 2, 3]) AS arr, 100 AS lim, arrayResize(arrayPartialSort(arrayPartialSort(lim, arr), arr), lim), arrayResize(arrayPartialReverseSort(lim, arr), lim), arrayResize(arrayPartialSort(x -> (-length(x)), lim, arr), lim). (ILLEGAL_TYPE_OF_ARGUMENT) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayMap(x -> range(x), [4, 1, 2, 3]) AS arr, 100 AS lim, arrayResize(arrayPartialSort(arrayPartialSort(lim, arr), arr), lim), arrayResize(arrayPartialReverseSort(lim, arr), lim), arrayResize(arrayPartialSort(x -> (-length(x)), lim, arr), lim);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/array/arraySort.h:44: DB::ArraySortImpl::checkArguments(String const&, DB::ColumnWithTypeAndName const*) @ 0x0000000012132218 7. /build/src/Functions/array/FunctionArrayMapped.h:193: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130715 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:52:24.296229 [ 27701 ] {914fa426-dc08-4f10-8e01-ae08bab14bff} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(UInt8)) of limit argument of function arrayPartialSort (must be UInt or Int): In scope SELECT arrayMap(x -> range(x), [4, 1, 2, 3]) AS arr, 100 AS lim, arrayResize(arrayPartialSort(arrayPartialSort(lim, arr), arr), lim), arrayResize(arrayPartialReverseSort(lim, arr), lim), arrayResize(arrayPartialSort(x -> (-length(x)), lim, arr), lim). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Functions/array/arraySort.h:44: DB::ArraySortImpl::checkArguments(String const&, DB::ColumnWithTypeAndName const*) @ 0x0000000012132218 7. /build/src/Functions/array/FunctionArrayMapped.h:193: DB::FunctionArrayMapped, DB::NameArrayPartialSort>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012130715 8. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 9. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 10. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 11. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5542: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b67f8 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 22. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 2025.03.05 21:52:24.506610 [ 27701 ] {db77c73f-75c9-4214-929d-64f0532a1023} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, Int8, UInt8, String, UInt64 because some of them are String/FixedString/Enum and some of them are not. (NO_COMMON_TYPE) (version 24.3.12.76.altinitystable) (from [::1]:48646) (comment: 00390_array_sort.sql) (in query: SELECT arrayPartialReverseSort(arraySort((x, y) -> y, [NULL, NULL], [NULL, NULL]), arr), arrayMap(x -> toString(x), [257, -9223372036854775807, 2, -2147483648, 2147483648, NULL, 65536, -2147483648, 2, 65535]) AS arr, NULL, 100 AS lim, 65536, arrayResize(arrayPartialSort(x -> reverse(x), lim, arr), lim) GROUP BY [NULL, 1023, -2, NULL, 255, '0', NULL, 9223372036854775806] WITH ROLLUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x0000000010ef8b2c 6. /build/src/DataTypes/getLeastSupertype.cpp:68: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000019fb6a66 7. /build/src/DataTypes/getLeastSupertype.cpp:488: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fbac5d 8. /build/src/DataTypes/getLeastSupertype.cpp:461: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fba8b4 9. /build/src/DataTypes/FieldToDataType.cpp:143: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000019f74f30 10. /build/src/Core/Field.h:649: auto DB::Field::dispatch, DB::Field&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field&) @ 0x000000000da50fe8 11. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field&) @ 0x000000000da50d5d 12. /build/src/Analyzer/ConstantNode.cpp:41: DB::ConstantNode::ConstantNode(DB::Field) @ 0x000000001a3c7ade 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ConstantNode* std::construct_at[abi:v15000](DB::ConstantNode*, DB::Field const&) @ 0x000000001b06de7b 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::ConstantNode*, DB::Field const&) @ 0x000000001b06dde1 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::Field const&) @ 0x000000001b06dd67 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Field const&, void>(std::allocator const&, DB::Field const&) @ 0x000000001b06dc97 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::Field const&) @ 0x000000001b065b46 18. /build/src/Analyzer/QueryTreeBuilder.cpp:557: DB::(anonymous namespace)::QueryTreeBuilder::buildExpression(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001b0550e0 19. /build/src/Analyzer/QueryTreeBuilder.cpp:520: DB::(anonymous namespace)::QueryTreeBuilder::buildExpressionList(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001b0549e6 20. /build/src/Analyzer/QueryTreeBuilder.cpp:321: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b0587a3 21. /build/src/Analyzer/QueryTreeBuilder.cpp:141: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b05473c 22. /build/src/Analyzer/QueryTreeBuilder.cpp:158: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b056f25 23. /build/src/Analyzer/QueryTreeBuilder.cpp:137: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b054609 24. /build/src/Analyzer/QueryTreeBuilder.cpp:122: DB::(anonymous namespace)::QueryTreeBuilder::QueryTreeBuilder(std::shared_ptr, std::shared_ptr) @ 0x000000001b05432b 25. /build/src/Analyzer/QueryTreeBuilder.cpp:1028: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000001b05412e 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:131: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506a8e 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:52:24.508198 [ 27701 ] {db77c73f-75c9-4214-929d-64f0532a1023} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, Int8, UInt8, String, UInt64 because some of them are String/FixedString/Enum and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x0000000010ef8b2c 6. /build/src/DataTypes/getLeastSupertype.cpp:68: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x0000000019fb6a66 7. /build/src/DataTypes/getLeastSupertype.cpp:488: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fbac5d 8. /build/src/DataTypes/getLeastSupertype.cpp:461: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000019fba8b4 9. /build/src/DataTypes/FieldToDataType.cpp:143: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x0000000019f74f30 10. /build/src/Core/Field.h:649: auto DB::Field::dispatch, DB::Field&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field&) @ 0x000000000da50fe8 11. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field&) @ 0x000000000da50d5d 12. /build/src/Analyzer/ConstantNode.cpp:41: DB::ConstantNode::ConstantNode(DB::Field) @ 0x000000001a3c7ade 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ConstantNode* std::construct_at[abi:v15000](DB::ConstantNode*, DB::Field const&) @ 0x000000001b06de7b 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::ConstantNode*, DB::Field const&) @ 0x000000001b06dde1 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::Field const&) @ 0x000000001b06dd67 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Field const&, void>(std::allocator const&, DB::Field const&) @ 0x000000001b06dc97 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::Field const&) @ 0x000000001b065b46 18. /build/src/Analyzer/QueryTreeBuilder.cpp:557: DB::(anonymous namespace)::QueryTreeBuilder::buildExpression(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001b0550e0 19. /build/src/Analyzer/QueryTreeBuilder.cpp:520: DB::(anonymous namespace)::QueryTreeBuilder::buildExpressionList(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001b0549e6 20. /build/src/Analyzer/QueryTreeBuilder.cpp:321: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b0587a3 21. /build/src/Analyzer/QueryTreeBuilder.cpp:141: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b05473c 22. /build/src/Analyzer/QueryTreeBuilder.cpp:158: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b056f25 23. /build/src/Analyzer/QueryTreeBuilder.cpp:137: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x000000001b054609 24. /build/src/Analyzer/QueryTreeBuilder.cpp:122: DB::(anonymous namespace)::QueryTreeBuilder::QueryTreeBuilder(std::shared_ptr, std::shared_ptr) @ 0x000000001b05432b 25. /build/src/Analyzer/QueryTreeBuilder.cpp:1028: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x000000001b05412e 26. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:131: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506a8e 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 2025.03.05 21:53:49.494616 [ 730 ] {6b5c2d5c-a62f-43e5-9859-7f6e6d24a5be} executeQuery: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; S. . (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41994) (comment: 00366_multi_statements.sh) (in query: SELECT 1; S), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:53:49.496282 [ 730 ] {6b5c2d5c-a62f-43e5-9859-7f6e6d24a5be} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; S. . (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:53:49.524462 [ 730 ] {9f9b2e12-d061-49bb-958d-94478d008b0e} executeQuery: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2. . (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:41996) (comment: 00366_multi_statements.sh) (in query: SELECT 1; SELECT 2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:53:49.526384 [ 730 ] {9f9b2e12-d061-49bb-958d-94478d008b0e} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2. . (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:53:49.557845 [ 730 ] {a857f79e-2033-4dcc-80e6-1858bc3502c6} executeQuery: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2;. . (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:42010) (comment: 00366_multi_statements.sh) (in query: SELECT 1; SELECT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:53:49.559596 [ 730 ] {a857f79e-2033-4dcc-80e6-1858bc3502c6} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2;. . (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:53:49.587427 [ 730 ] {49a209d0-9f60-4c09-af54-40cdc3d2c0b1} executeQuery: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2; SELECT. . (SYNTAX_ERROR) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:42020) (comment: 00366_multi_statements.sh) (in query: SELECT 1; SELECT 2; SELECT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:53:49.589139 [ 730 ] {49a209d0-9f60-4c09-af54-40cdc3d2c0b1} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed): failed at position 9 (end of query): ; SELECT 2; SELECT. . (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Parsers/parseQuery.cpp:373: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long, unsigned long) @ 0x000000001e404ba1 7. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long, unsigned long) @ 0x000000001e404c92 8. /build/src/Interpreters/executeQuery.cpp:760: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbacb05 9. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 10. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 11. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 21:54:53.723114 [ 730 ] {87886acd-ea44-45cc-88b6-6a17db156148} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:60830) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:54:53.730539 [ 730 ] {87886acd-ea44-45cc-88b6-6a17db156148} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:54:57.270527 [ 27704 ] {efeb531b-11d9-4c67-b35e-0e80dffd6623} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:60884) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:54:57.277921 [ 27704 ] {efeb531b-11d9-4c67-b35e-0e80dffd6623} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:01.203238 [ 20529 ] {f6019cae-fe8e-4be7-aa07-e5319062d1ae} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:45804) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:01.212412 [ 20529 ] {f6019cae-fe8e-4be7-aa07-e5319062d1ae} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:04.877861 [ 20529 ] {37377925-811a-49e2-97c4-80e886c556d2} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:45864) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:04.885719 [ 20529 ] {37377925-811a-49e2-97c4-80e886c556d2} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:08.861087 [ 10876 ] {f989d75c-8358-4572-98f0-5d7435afb819} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:41696) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:08.872062 [ 10876 ] {f989d75c-8358-4572-98f0-5d7435afb819} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:12.661042 [ 27701 ] {1e500aea-f1a2-4441-9672-d0ac1b7f63d0} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:41762) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:12.671160 [ 27701 ] {1e500aea-f1a2-4441-9672-d0ac1b7f63d0} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:16.342674 [ 27700 ] {60e87408-487e-401a-9587-20ccb701ba56} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:41800) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:16.349703 [ 27700 ] {60e87408-487e-401a-9587-20ccb701ba56} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:20.046908 [ 10876 ] {24a62144-b5c3-4ac5-8c7f-3680bda0000e} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:47404) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:20.060727 [ 10876 ] {24a62144-b5c3-4ac5-8c7f-3680bda0000e} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:23.530231 [ 10876 ] {e3548ad8-0803-4239-bf4a-25d16613604b} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:47420) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:23.539736 [ 10876 ] {e3548ad8-0803-4239-bf4a-25d16613604b} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:27.141117 [ 10876 ] {693db4dc-d2e2-483e-b550-bbad81c71c9f} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 24.3.12.76.altinitystable) (from [::1]:47422) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:55:27.149359 [ 10876 ] {693db4dc-d2e2-483e-b550-bbad81c71c9f} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1_UInt8 :: 1, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16) :: 2) -> modulo(1_UInt8, modulo(plus(__table1.number, 500_UInt16), 1000_UInt16)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(char8_t, unsigned short) @ 0x000000000da0dc63 7. /build/src/Functions/DivisionUtils.h:156: unsigned short DB::ModuloImpl::apply(char8_t, unsigned short) @ 0x000000000fe95604 8. /build/src/Functions/FunctionBinaryArithmetic.h:286: void DB::impl_::BinaryOperation, unsigned short>::apply<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long) @ 0x000000000fe956b2 9. /build/src/Functions/FunctionBinaryArithmetic.h:272: void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000fe95506 10. /build/src/Functions/FunctionBinaryArithmetic.h:2151: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x0000000010040942 11. /build/src/Functions/FunctionBinaryArithmetic.h:2315: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x00000000100403fb 12. /build/src/Functions/FunctionBinaryArithmetic.h:817: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f764 13. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_ENKUlS1T_E_clIS2_EEDaS1T_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9fb67 14. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f6dd 15. /build/src/Functions/FunctionBinaryArithmetic.h:815: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000001003f133 16. /build/src/Functions/castTypeToEither.h:18: _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm128EjEEEENS1_INS7_ILm256EjEEEENS1_IDB8_EENS1_IsEENS1_IiEENS1_IlEENS1_INS7_ILm128EiEEEENS1_INS7_ILm256EiEEEENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_ISH_EEEENSL_INSM_ISJ_EEEENS_12DataTypeDateENS_16DataTypeDateTimeENS_19DataTypeFixedStringENS_14DataTypeStringENS_16DataTypeIntervalENS1_IfEENS1_IdEEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_10ModuloImplENS_10NameModuloELb0ELb1ELb0EE13castBothTypesIZNKS16_12executeImpl2ERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS18_9allocatorIS1A_EEEERKNS18_10shared_ptrIKS12_EEmPKNS_8PODArrayIDuLm4096E9AllocatorILb0ELb0EELm63ELm64EEEEUlRKT_RKT0_E_EEbPS1H_S1Y_OS1R_EUlS1T_E_EEb8TypeListIJDpT_EEPS1V_OT1_ @ 0x000000000fd9f347 17. /build/src/Functions/FunctionBinaryArithmetic.h:807: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000001003f0dd 18. /build/src/Functions/FunctionBinaryArithmetic.h:813: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000001003d5d1 19. /build/src/Functions/FunctionBinaryArithmetic.h:2282: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000001003d1fe 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001003a656 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010039a0c 22. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af6974d 23. /build/src/Functions/IFunction.cpp:279: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001906155a 24. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 25. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 26. /build/src/Interpreters/ExpressionActions.cpp:616: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool) @ 0x000000001a6a0cb7 27. /build/src/Interpreters/ExpressionActions.cpp:746: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool, bool) const @ 0x000000001a6a0047 28. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001da41248 29. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000016041162 30. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001d4f37d2 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 2025.03.05 21:56:39.521389 [ 33888 ] {0377127e-75ad-40c7-a45d-bf39ef8269f8} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 24.3.12.76.altinitystable) (from [::1]:57008) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:39.521510 [ 33887 ] {eed67231-068d-4f26-841a-ae3340c3b766} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 24.3.12.76.altinitystable) (from [::1]:56998) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 MODIFY COLUMN value0 String SETTINGS mutations_sync = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:39.524257 [ 33888 ] {0377127e-75ad-40c7-a45d-bf39ef8269f8} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:39.524518 [ 33887 ] {eed67231-068d-4f26-841a-ae3340c3b766} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:43.277798 [ 27699 ] {ad186d34-7581-49a3-b0a4-ee26f8d3b128} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:57096) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:43.279705 [ 27699 ] {ad186d34-7581-49a3-b0a4-ee26f8d3b128} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:43.702161 [ 23445 ] {dce31ab1-a8d6-424e-b338-389d0712a521} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:57122) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:43.713279 [ 23445 ] {dce31ab1-a8d6-424e-b338-389d0712a521} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:44.308438 [ 23445 ] {ff49ca3c-ecdd-4a2c-a92e-0a845204e5b2} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:57174) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:44.310204 [ 23445 ] {ff49ca3c-ecdd-4a2c-a92e-0a845204e5b2} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:45.997047 [ 23445 ] {5a65dcea-bce6-4789-ab97-cf5e646620f1} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 24.3.12.76.altinitystable) (from [::1]:57238) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 MODIFY COLUMN value0 UInt8 SETTINGS mutations_sync = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:45.999059 [ 23445 ] {5a65dcea-bce6-4789-ab97-cf5e646620f1} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:47.591614 [ 23445 ] {05dd7453-d5d4-4710-ab56-df01fe382530} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:57250) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:47.606676 [ 23445 ] {05dd7453-d5d4-4710-ab56-df01fe382530} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:48.763734 [ 23445 ] {5a62f047-0ffc-409d-8081-2e0093551834} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49182) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:48.766587 [ 23445 ] {5a62f047-0ffc-409d-8081-2e0093551834} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:52.431060 [ 23445 ] {8c99c3d5-affc-4793-b01e-190c5bbecb0f} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 24.3.12.76.altinitystable) (from [::1]:49292) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:52.449425 [ 23445 ] {8c99c3d5-affc-4793-b01e-190c5bbecb0f} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:52.863313 [ 33885 ] {b638c8e7-276c-4a34-adf1-95e3d6295a29} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:49324) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:52.865571 [ 33885 ] {b638c8e7-276c-4a34-adf1-95e3d6295a29} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:55.459788 [ 33884 ] {50054287-3250-417d-acf3-9dfb22cbfa4a} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49380) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:55.461965 [ 33884 ] {50054287-3250-417d-acf3-9dfb22cbfa4a} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:56.815941 [ 33887 ] {69027966-2090-45f6-978e-974af853c3e9} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49410) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:56.818337 [ 33887 ] {69027966-2090-45f6-978e-974af853c3e9} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:56.926144 [ 33885 ] {fcd61343-3f58-4de6-a709-cfacf3e862ac} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49422) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:56.931709 [ 33885 ] {fcd61343-3f58-4de6-a709-cfacf3e862ac} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:59.044518 [ 33884 ] {91fd4dba-e808-4f4f-ac0c-b02aa3f75910} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:56736) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:56:59.053391 [ 33884 ] {91fd4dba-e808-4f4f-ac0c-b02aa3f75910} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:00.889216 [ 33885 ] {2c771274-3c95-4993-9272-214d4131c8a8} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 24.3.12.76.altinitystable) (from [::1]:56788) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:00.893860 [ 33885 ] {2c771274-3c95-4993-9272-214d4131c8a8} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:66: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000af5dfe9 6. /build/src/Storages/AlterCommands.cpp:1458: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c2517d1 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:02.756620 [ 27701 ] {86bc1859-e389-46b7-a9a1-398868b7ee55} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 24.3.12.76.altinitystable) (from [::1]:56888) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_1 MODIFY COLUMN value0 String SETTINGS mutations_sync = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:02.758812 [ 27701 ] {86bc1859-e389-46b7-a9a1-398868b7ee55} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6265: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001c552114 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:201: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9070 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:04.500062 [ 33887 ] {0f0b734f-9d80-4442-8388-dd711aed4d17} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:56924) (comment: 03144_parallel_alter_add_drop_column_zookeeper_on_steroids.sh) (in query: ALTER TABLE concurrent_alter_add_drop_steroids_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:57:04.520930 [ 33887 ] {0f0b734f-9d80-4442-8388-dd711aed4d17} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Storages/AlterCommands.cpp:1279: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001c24ea40 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:198: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8f52 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 21:59:45.986027 [ 33887 ] {59ff52d0-36ca-4f58-9cd0-f728d8f22882} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE x; to attach existing table or CREATE TABLE x ; to create new table or ATTACH TABLE x FROM '/path/to/data/'
; to create new table and attach data. 2025.03.05 21:59:46.000887 [ 908 ] {} test_pwzz4956.x (ReplicatedMergeTreeAttachThread): No metadata in ZooKeeper for /tables/test_pwzz4956/aaaaaaaa-1111-2222-3333-aaaaaaaaaaaa: table will stay in readonly mode. 2025.03.05 21:59:46.630880 [ 33887 ] {f2c17954-0f21-4348-8240-da980e57a672} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:54282) (comment: 02990_rmt_replica_path_uuid.sql) (in query: CREATE TABLE x (`key` Int) ENGINE = ReplicatedMergeTree('/tables/{database}/{uuid}', 'r1') ORDER BY tuple() SETTINGS index_granularity = 63671, min_bytes_for_wide_part = 1071377658, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = true, max_file_name_length = 0, min_bytes_for_full_part_storage = 287465372, compact_parts_max_bytes_to_buffer = 362839111, compact_parts_max_granules_to_buffer = 172, compact_parts_merge_max_bytes_to_prefetch_part = 3042861, merge_max_block_size = 7832, old_parts_lifetime = 480., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7140130746, index_granularity_bytes = 19876719, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = true, cache_populated_by_fetch = true, marks_compress_block_size = 81991, primary_key_compress_block_size = 82243), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/Macros.cpp:112: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000132e17c0 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:351: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001d0e4636 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:395: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e023f 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:59:46.631752 [ 33887 ] {f2c17954-0f21-4348-8240-da980e57a672} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Common/Macros.cpp:112: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000132e17c0 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:351: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001d0e4636 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:395: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e023f 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 15. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 19. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 20. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 21. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 22. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 28. ? @ 0x00007ff3d325bac3 29. ? @ 0x00007ff3d32ed850 2025.03.05 21:59:54.313337 [ 33887 ] {d445ddb5-c674-48e5-9582-3052703bda82} executeQuery: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:43260) (comment: 02976_system_zookeeper_filters.sql) (in query: SELECT count() > 0 FROM system.zookeeper;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.316973 [ 33887 ] {d445ddb5-c674-48e5-9582-3052703bda82} TCPHandler: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.366697 [ 33887 ] {f92be314-a140-4535-b4d3-f0813cfdb80f} executeQuery: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:43260) (comment: 02976_system_zookeeper_filters.sql) (in query: SELECT count() > 0 FROM system.zookeeper WHERE name LIKE '%_%';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.370057 [ 33887 ] {f92be314-a140-4535-b4d3-f0813cfdb80f} TCPHandler: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.421504 [ 33887 ] {b0de8ecd-1fb4-42ac-b9f8-8ecac50780e4} executeQuery: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:43260) (comment: 02976_system_zookeeper_filters.sql) (in query: SELECT count() > 0 FROM system.zookeeper WHERE value LIKE '%';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.425730 [ 33887 ] {b0de8ecd-1fb4-42ac-b9f8-8ecac50780e4} TCPHandler: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.478616 [ 33887 ] {1a741895-b1cc-430b-8b3e-ea388dab1136} executeQuery: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:43260) (comment: 02976_system_zookeeper_filters.sql) (in query: SELECT count() > 0 FROM system.zookeeper WHERE path LIKE '/%';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 21:59:54.485540 [ 33887 ] {1a741895-b1cc-430b-8b3e-ea388dab1136} TCPHandler: Code: 36. DB::Exception: SELECT from system.zookeeper table must contain condition like path = 'path' or path IN ('path1','path2'...) or path IN (subquery) in WHERE clause unless `set allow_unrestricted_reads_from_keeper = 'true'`.: While executing SystemZooKeeper. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:487: DB::SystemZooKeeperSource::generate() @ 0x000000001901dfdc 7. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 8. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 11. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 12. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 13. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 20. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 21. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x00000000133e1935 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x00000000133e1915 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000133e18e0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 22:01:44.944656 [ 34334 ] {8e6df6bd-cabf-46be-8a7a-4d9ef8f4f11f} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:54836) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: OPTIMIZE TABLE test_table_1 FINAL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:44.946823 [ 34334 ] {8e6df6bd-cabf-46be-8a7a-4d9ef8f4f11f} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:52.531321 [ 34334 ] {9ff7232d-a0f9-4fdc-8731-976cc69b77fe} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:37878) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: OPTIMIZE TABLE test_table_1 FINAL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:52.534782 [ 34334 ] {9ff7232d-a0f9-4fdc-8731-976cc69b77fe} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:58.218096 [ 34334 ] {e88e7a11-e02e-4b40-8cef-1d1284241eaa} executeQuery: Code: 60. DB::Exception: Could not find table: test_table_2. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:49966) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: ALTER TABLE test_table_2 DELETE WHERE key % 2 = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:58.220028 [ 34334 ] {e88e7a11-e02e-4b40-8cef-1d1284241eaa} TCPHandler: Code: 60. DB::Exception: Could not find table: test_table_2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:01:59.883439 [ 34334 ] {43336a95-1974-4d0f-82cc-a8ef0d3fd346} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 324.00 B) in table 'test_m4mxzj1k.test_table_3 (054fd035-01c0-4fba-a168-60699344a853)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 24.3.12.76.altinitystable) (from [::1]:49982) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_3 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001d0a1c96 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 22:01:59.885366 [ 34334 ] {43336a95-1974-4d0f-82cc-a8ef0d3fd346} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 324.00 B) in table 'test_m4mxzj1k.test_table_3 (054fd035-01c0-4fba-a168-60699344a853)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001cc50828 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4450: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001cc021a4 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001d0a1c96 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001da407b9 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da40795 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40775 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40755 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4071d 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fb35 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001d5405fc 22. /build/src/Server/TCPHandler.cpp:906: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c7d5 23. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 24. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 22:02:06.057378 [ 34334 ] {469f220e-f5b5-49ac-a708-395d8d7ea28b} executeQuery: Code: 60. DB::Exception: Could not find table: test_table_1. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:50040) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: ALTER TABLE test_table_1 DELETE WHERE key % 2 = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:06.059724 [ 34334 ] {469f220e-f5b5-49ac-a708-395d8d7ea28b} TCPHandler: Code: 60. DB::Exception: Could not find table: test_table_1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:07.992595 [ 34350 ] {657fbbab-2fd6-494a-a6af-07416e0bba3a} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:35212) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: OPTIMIZE TABLE test_table_1 FINAL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:07.994798 [ 34350 ] {657fbbab-2fd6-494a-a6af-07416e0bba3a} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:13.176059 [ 34334 ] {ad699e8e-4fbc-48e1-a579-54e78bcb00d7} executeQuery: Code: 60. DB::Exception: Could not find table: test_table_3. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:35254) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: ALTER TABLE test_table_3 DELETE WHERE key % 2 = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:13.178324 [ 34334 ] {ad699e8e-4fbc-48e1-a579-54e78bcb00d7} TCPHandler: Code: 60. DB::Exception: Could not find table: test_table_3. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:15.395276 [ 34334 ] {01787248-d909-4686-944e-23bed2665c8c} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_2 does not exist. Maybe you meant test_m4mxzj1k.test_table_5?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:35268) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:15.398945 [ 34334 ] {01787248-d909-4686-944e-23bed2665c8c} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_2 does not exist. Maybe you meant test_m4mxzj1k.test_table_5?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:18.997562 [ 34334 ] {d690c7e2-6231-4ebf-8940-77ea5217ec49} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_3 does not exist. Maybe you meant test_m4mxzj1k.test_table_5?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:33866) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_3 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:19.001150 [ 34334 ] {d690c7e2-6231-4ebf-8940-77ea5217ec49} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_3 does not exist. Maybe you meant test_m4mxzj1k.test_table_5?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:23.088993 [ 34334 ] {3d3ac5ad-ef4b-4ecd-83a6-6fea5a811ca8} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:33920) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:23.090743 [ 34334 ] {3d3ac5ad-ef4b-4ecd-83a6-6fea5a811ca8} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_1 does not exist. Maybe you meant test_m4mxzj1k.test_table_10?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:24.375238 [ 34334 ] {04642238-9738-4fee-9d94-caa2b9da9213} executeQuery: Code: 60. DB::Exception: Could not find table: test_table_2. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:33934) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: ALTER TABLE test_table_2 DELETE WHERE key % 2 = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:24.377005 [ 34334 ] {04642238-9738-4fee-9d94-caa2b9da9213} TCPHandler: Code: 60. DB::Exception: Could not find table: test_table_2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:124: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff7ee8 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:26.506871 [ 34334 ] {8412acc0-a69a-4071-8eb6-dd793385d772} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_2 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:33950) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: OPTIMIZE TABLE test_table_2 FINAL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:26.508967 [ 34334 ] {8412acc0-a69a-4071-8eb6-dd793385d772} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_2 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:40: DB::InterpreterOptimizeQuery::execute() @ 0x000000001bc1a2b4 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:26.679077 [ 34350 ] {7201f9d9-a831-42b9-94b1-c0555aadcdc1} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_5 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:33954) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_5 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:26.681848 [ 34350 ] {7201f9d9-a831-42b9-94b1-c0555aadcdc1} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_5 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:30.526042 [ 34334 ] {4b973727-a2b9-4cbf-bed9-275f4ba639bc} executeQuery: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_4 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:36300) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_4 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:30.530128 [ 34334 ] {4b973727-a2b9-4cbf-bed9-275f4ba639bc} TCPHandler: Code: 60. DB::Exception: Table test_m4mxzj1k.test_table_4 does not exist. Maybe you meant test_m4mxzj1k.test_table_6?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/IDatabase.cpp:39: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144bcb 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:123: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001b428512 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:406: DB::InterpreterInsertQuery::execute() @ 0x000000001b42a984 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:34.359160 [ 34334 ] {813779d8-6d33-41e7-b1d1-cecab6fc1109} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36326). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:36326) (comment: 02962_system_sync_replica_lightweight_from_modifier.sh) (in query: INSERT INTO test_table_8 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2216: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c172 9. /build/src/Server/TCPHandler.cpp:869: DB::TCPHandler::startInsertQuery() @ 0x000000001d47bce3 10. /build/src/Server/TCPHandler.cpp:911: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c85c 11. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 12. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:34.361514 [ 34334 ] {813779d8-6d33-41e7-b1d1-cecab6fc1109} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2253: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001d485e55 9. /build/src/Server/TCPHandler.cpp:2330: DB::TCPHandler::sendLogs() @ 0x000000001d47abff 10. /build/src/Server/TCPHandler.cpp:693: DB::TCPHandler::runImpl() @ 0x000000001d4700c2 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:02:34.361891 [ 34334 ] {813779d8-6d33-41e7-b1d1-cecab6fc1109} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36326). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2216: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c172 9. /build/src/Server/TCPHandler.cpp:869: DB::TCPHandler::startInsertQuery() @ 0x000000001d47bce3 10. /build/src/Server/TCPHandler.cpp:911: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&, DB::Block) const @ 0x000000001d47c85c 11. /build/src/Server/TCPHandler.cpp:987: DB::TCPHandler::processInsertQuery() @ 0x000000001d47982a 12. /build/src/Server/TCPHandler.cpp:534: DB::TCPHandler::runImpl() @ 0x000000001d46ed31 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:02:34.362472 [ 34334 ] {813779d8-6d33-41e7-b1d1-cecab6fc1109} TCPHandler: Client has gone away. 2025.03.05 22:04:51.491319 [ 34334 ] {8aca2488-de87-41f8-97d9-5979555693ee} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:41738) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:04:51.492768 [ 34334 ] {8aca2488-de87-41f8-97d9-5979555693ee} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:05:00.514872 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000027: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:05:00.540310 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000027: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:05:01.590223 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000027: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:05:01.617031 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000028: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:05:01.641799 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000028: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:05:09.459656 [ 34334 ] {e067125e-da72-4a40-8a1e-e0ea8edd8a3c} executeQuery: Code: 319. DB::Exception: Unknown quorum status. The data was inserted in the local replica but we could not verify quorum. Reason: Fault injection before operation. (UNKNOWN_STATUS_OF_INSERT) (version 24.3.12.76.altinitystable) (from [::1]:43884) (comment: 02887_insert_quorum_wo_keeper_retries.sql) (in query: INSERT INTO quorum1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1119: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda4'()::operator()() const @ 0x000000001d0c1513 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d0c1475 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d0c1455 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d0c1435 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d0c13fd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 13. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:216: DB::ZooKeeperRetriesControl::canTry() @ 0x00000000190383dd 14. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:68: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&)::'lambda'()&&) @ 0x000000001d0c15f2 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&) @ 0x000000001d0a5061 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1125: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4ed6 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 31. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 2025.03.05 22:05:09.461049 [ 34334 ] {e067125e-da72-4a40-8a1e-e0ea8edd8a3c} TCPHandler: Code: 319. DB::Exception: Unknown quorum status. The data was inserted in the local replica but we could not verify quorum. Reason: Fault injection before operation. (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1119: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda4'()::operator()() const @ 0x000000001d0c1513 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d0c1475 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d0c1455 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d0c1435 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d0c13fd 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 13. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:216: DB::ZooKeeperRetriesControl::canTry() @ 0x00000000190383dd 14. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:68: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&)::'lambda'()&&) @ 0x000000001d0c15f2 15. /build/src/Common/ZooKeeper/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda5'()&&) @ 0x000000001d0a5061 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1125: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001d0a4ed6 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:444: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001d098cb1 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:421: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001d0a3c38 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001dbbc425 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001da409fc 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001da409b5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001da40995 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001da40975 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001da4093d 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001da4025a 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001da3fc9e 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 31. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 2025.03.05 22:05:45.581136 [ 10876 ] {4ce6c7a1-f6a2-4835-87a3-2ba3d10ca3af} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:35678) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:05:45.582588 [ 10876 ] {4ce6c7a1-f6a2-4835-87a3-2ba3d10ca3af} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:05:49.008288 [ 10876 ] {67469726-ac6d-48f4-8737-473290d031ff} executeQuery: Code: 354. DB::Exception: inflate failed: data error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZLIB_INFLATE_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:45322) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'gzip')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String&&) @ 0x00000000160e63cc 6. /build/src/IO/ZlibInflatingReadBuffer.cpp:113: DB::ZlibInflatingReadBuffer::nextImpl() @ 0x00000000160e5f9f 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:49.013608 [ 10876 ] {67469726-ac6d-48f4-8737-473290d031ff} TCPHandler: Code: 354. DB::Exception: inflate failed: data error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZLIB_INFLATE_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String&&) @ 0x00000000160e63cc 6. /build/src/IO/ZlibInflatingReadBuffer.cpp:113: DB::ZlibInflatingReadBuffer::nextImpl() @ 0x00000000160e5f9f 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:52.379370 [ 10876 ] {dea337e8-f4af-4357-a64b-63320b5698cf} executeQuery: Code: 354. DB::Exception: inflate failed: data error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZLIB_INFLATE_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:45336) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'deflate')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String&&) @ 0x00000000160e63cc 6. /build/src/IO/ZlibInflatingReadBuffer.cpp:113: DB::ZlibInflatingReadBuffer::nextImpl() @ 0x00000000160e5f9f 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:52.395519 [ 10876 ] {dea337e8-f4af-4357-a64b-63320b5698cf} TCPHandler: Code: 354. DB::Exception: inflate failed: data error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZLIB_INFLATE_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const*&&, String&&) @ 0x00000000160e63cc 6. /build/src/IO/ZlibInflatingReadBuffer.cpp:113: DB::ZlibInflatingReadBuffer::nextImpl() @ 0x00000000160e5f9f 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:56.039919 [ 10876 ] {dff3fd92-5cb6-44e8-ab33-2da197f39443} executeQuery: Code: 448. DB::Exception: brotli decode error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (BROTLI_READ_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:45346) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'br')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/IO/BrotliReadBuffer.cpp:99: DB::BrotliReadBuffer::nextImpl() @ 0x00000000160e6d76 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:56.045957 [ 10876 ] {dff3fd92-5cb6-44e8-ab33-2da197f39443} TCPHandler: Code: 448. DB::Exception: brotli decode error: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (BROTLI_READ_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/IO/BrotliReadBuffer.cpp:99: DB::BrotliReadBuffer::nextImpl() @ 0x00000000160e6d76 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:59.680755 [ 10876 ] {3a468b60-55b5-4d1d-87f1-b56ea9087933} executeQuery: Code: 554. DB::Exception: lzma_stream_decoder failed: error code: error code LZMA_FORMAT_ERROR; lzma version: 5.3.1alpha: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (LZMA_STREAM_DECODER_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:60892) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'xz')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, lzma_ret&, char const (&) [11], String&&) @ 0x00000000160e7e88 6. /build/src/IO/LZMAInflatingReadBuffer.cpp:90: DB::LZMAInflatingReadBuffer::nextImpl() @ 0x00000000160e7a79 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:05:59.686063 [ 10876 ] {3a468b60-55b5-4d1d-87f1-b56ea9087933} TCPHandler: Code: 554. DB::Exception: lzma_stream_decoder failed: error code: error code LZMA_FORMAT_ERROR; lzma version: 5.3.1alpha: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (LZMA_STREAM_DECODER_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, lzma_ret&, char const (&) [11], String&&) @ 0x00000000160e7e88 6. /build/src/IO/LZMAInflatingReadBuffer.cpp:90: DB::LZMAInflatingReadBuffer::nextImpl() @ 0x00000000160e7a79 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:03.264436 [ 10876 ] {d705a6fa-fd1a-4655-8217-d65ef16f6845} executeQuery: Code: 561. DB::Exception: ZSTD stream decoding failed: error 'Unknown frame descriptor'; ZSTD version: 1.5.5: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZSTD_DECODER_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:60902) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'zstd')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, char const (&) [6], String&&) @ 0x000000001338e164 6. /build/src/IO/ZstdInflatingReadBuffer.cpp:63: DB::ZstdInflatingReadBuffer::nextImpl() @ 0x000000001338d94a 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:03.270019 [ 10876 ] {d705a6fa-fd1a-4655-8217-d65ef16f6845} TCPHandler: Code: 561. DB::Exception: ZSTD stream decoding failed: error 'Unknown frame descriptor'; ZSTD version: 1.5.5: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (ZSTD_DECODER_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, char const*&&, char const (&) [6], String&&) @ 0x000000001338e164 6. /build/src/IO/ZstdInflatingReadBuffer.cpp:63: DB::ZstdInflatingReadBuffer::nextImpl() @ 0x000000001338d94a 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:06.910335 [ 10876 ] {0878284e-1740-4e80-8c55-2d214135280c} executeQuery: Code: 618. DB::Exception: LZ4 decompression failed. LZ4F version: 100. Error: ERROR_frameType_unknown: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (LZ4_DECODER_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:60914) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'lz4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&&, char const*&&, String&&) @ 0x00000000160e9588 6. /build/src/IO/Lz4InflatingReadBuffer.cpp:74: DB::Lz4InflatingReadBuffer::nextImpl() @ 0x00000000160e90d1 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:06.916550 [ 10876 ] {0878284e-1740-4e80-8c55-2d214135280c} TCPHandler: Code: 618. DB::Exception: LZ4 decompression failed. LZ4F version: 100. Error: ERROR_frameType_unknown: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (LZ4_DECODER_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&&, char const*&&, String&&) @ 0x00000000160e9588 6. /build/src/IO/Lz4InflatingReadBuffer.cpp:74: DB::Lz4InflatingReadBuffer::nextImpl() @ 0x00000000160e90d1 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:10.682623 [ 10876 ] {0e476b97-fc08-4b77-aeac-eaeb17110936} executeQuery: Code: 594. DB::Exception: bzip2 stream decoder failed: error code: -5: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (BZIP2_STREAM_DECODER_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:49772) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'bz2')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, String&&) @ 0x00000000160ea9ac 6. /build/src/IO/Bzip2ReadBuffer.cpp:120: DB::Bzip2ReadBuffer::nextImpl() @ 0x00000000160ea38c 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:10.689214 [ 10876 ] {0e476b97-fc08-4b77-aeac-eaeb17110936} TCPHandler: Code: 594. DB::Exception: bzip2 stream decoder failed: error code: -5: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (BZIP2_STREAM_DECODER_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, String&&) @ 0x00000000160ea9ac 6. /build/src/IO/Bzip2ReadBuffer.cpp:120: DB::Bzip2ReadBuffer::nextImpl() @ 0x00000000160ea38c 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:14.384063 [ 10876 ] {5b3ef5e6-5210-4fcc-b34e-f77a430518f7} executeQuery: Code: 638. DB::Exception: hadoop snappy decode error: TOO_LARGE_COMPRESSED_BLOCK: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (SNAPPY_UNCOMPRESS_FAILED) (version 24.3.12.76.altinitystable) (from [::1]:49776) (comment: 02724_decompress_filename_exception.sh) (in query: SELECT * FROM file('/var/lib/clickhouse/user_files/corrupted_file.tsv.xx', 'TSV', 'c UInt32', 'snappy')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/IO/HadoopSnappyReadBuffer.cpp:229: DB::HadoopSnappyReadBuffer::nextImpl() @ 0x00000000160eb768 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:14.390448 [ 10876 ] {5b3ef5e6-5210-4fcc-b34e-f77a430518f7} TCPHandler: Code: 638. DB::Exception: hadoop snappy decode error: TOO_LARGE_COMPRESSED_BLOCK: While reading from: /var/lib/clickhouse/user_files/corrupted_file.tsv.xx: (while reading header): (in file/uri /var/lib/clickhouse/user_files/corrupted_file.tsv.xx): While executing TabSeparatedRowInputFormat: While executing File. (SNAPPY_UNCOMPRESS_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/IO/HadoopSnappyReadBuffer.cpp:229: DB::HadoopSnappyReadBuffer::nextImpl() @ 0x00000000160eb768 7. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 8. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013388ada 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001d6414e8 11. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001d63dd80 12. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::read() @ 0x000000001d603a99 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:06:33.803572 [ 10876 ] {af03e136-bc9e-4ff3-9fb7-ac7d6c07a92a} executeQuery: Code: 44. DB::Exception: Tuple(UInt32, UInt32) cannot be inside Nullable column. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:45962) (comment: 02536_hdfs_cluster_use_structure_from_table.sql) (in query: insert into test select * from hdfsCluster('test_cluster_two_shards_localhost', 'hdfs://localhost:12222/test_02536.jsonl') settings use_structure_from_insertion_table_in_table_functions=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/ColumnNullable.cpp:35: DB::ColumnNullable::ColumnNullable(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000001bf0742d 7. /build/src/Common/COW.h:284: COW::mutable_ptr COWHelper, DB::ColumnNullable>::create::mutable_ptr, COW::mutable_ptr>(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000000aa426c0 8. /build/src/Columns/ColumnNullable.h:48: COW::mutable_ptr DB::ColumnNullable::create::mutable_ptr, COW::mutable_ptr>(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000000aa42228 9. /build/src/Columns/ColumnNullable.h:43: DB::ColumnNullable::create(COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000aa41c47 10. /build/src/Columns/ColumnNullable.cpp:856: DB::makeNullableOrLowCardinalityNullable(COW::immutable_ptr const&) @ 0x000000001bf0c1fb 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:558: DB::InterpreterInsertQuery::execute() @ 0x000000001b42cb88 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:06:33.804848 [ 10876 ] {af03e136-bc9e-4ff3-9fb7-ac7d6c07a92a} TCPHandler: Code: 44. DB::Exception: Tuple(UInt32, UInt32) cannot be inside Nullable column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Columns/ColumnNullable.cpp:35: DB::ColumnNullable::ColumnNullable(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000001bf0742d 7. /build/src/Common/COW.h:284: COW::mutable_ptr COWHelper, DB::ColumnNullable>::create::mutable_ptr, COW::mutable_ptr>(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000000aa426c0 8. /build/src/Columns/ColumnNullable.h:48: COW::mutable_ptr DB::ColumnNullable::create::mutable_ptr, COW::mutable_ptr>(COW::mutable_ptr&&, COW::mutable_ptr&&) @ 0x000000000aa42228 9. /build/src/Columns/ColumnNullable.h:43: DB::ColumnNullable::create(COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000aa41c47 10. /build/src/Columns/ColumnNullable.cpp:856: DB::makeNullableOrLowCardinalityNullable(COW::immutable_ptr const&) @ 0x000000001bf0c1fb 11. /build/src/Interpreters/InterpreterInsertQuery.cpp:558: DB::InterpreterInsertQuery::execute() @ 0x000000001b42cb88 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:06:49.367133 [ 10876 ] {aa575132-9659-4cb3-9d7d-c6a3b29414ed} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:46788) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:06:49.368713 [ 10876 ] {aa575132-9659-4cb3-9d7d-c6a3b29414ed} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:08:42.080793 [ 35237 ] {7188a386-32dc-445b-8092-fa7c5e72b360} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41044). (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:41044) (in query: SELECT DISTINCT arrayJoin(extractAll(name, '[\\w_]{2,}')) AS res FROM (SELECT * FROM viewIfPermitted(SELECT name FROM system.functions ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.table_engines ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.formats ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.table_functions ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.data_type_families ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.merge_tree_settings ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.settings ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT cluster FROM system.clusters ELSE null('cluster String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT macro FROM system.macros ELSE null('macro String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT policy_name FROM system.storage_policies ELSE null('policy_name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT concat(func.name, comb.name) AS x FROM system.functions AS func CROSS JOIN system.aggregate_function_combinators AS comb WHERE is_aggregate ELSE null('x String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT name FROM system.databases LIMIT 10000 ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT DISTINCT name FROM system.tables LIMIT 10000 ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT DISTINCT name FROM system.dictionaries LIMIT 10000 ELSE null('name String')) UNION ALL SELECT * FROM viewIfPermitted(SELECT DISTINCT name FROM system.columns LIMIT 10000 ELSE null('name String'))) WHERE notEmpty(res)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2216: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c172 9. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:08:42.099669 [ 35237 ] {7188a386-32dc-445b-8092-fa7c5e72b360} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41044). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:169: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x00000000134e7844 7. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 8. /build/src/Server/TCPHandler.cpp:2216: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001d47c172 9. /build/src/Server/TCPHandler.cpp:1055: DB::TCPHandler::processOrdinaryQuery() @ 0x000000001d479d99 10. /build/src/Server/TCPHandler.cpp:539: DB::TCPHandler::runImpl() @ 0x000000001d46ee5b 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:08:42.100201 [ 35237 ] {7188a386-32dc-445b-8092-fa7c5e72b360} TCPHandler: Client has gone away. 2025.03.05 22:08:46.305232 [ 34334 ] {9f26f0b5-2622-43eb-ba57-d1c8fea4ef99} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:41048) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:08:46.306144 [ 34334 ] {9f26f0b5-2622-43eb-ba57-d1c8fea4ef99} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:09:04.116822 [ 10876 ] {6f9fa535-586e-4225-98ed-010218af8266} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack UUID into column with type Int32.: (in file/uri /var/lib/clickhouse/user_files/02422_data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:55712) (comment: 02422_msgpack_uuid_wrong_column.sql) (in query: select * from file(02422_data.msgpack, auto, 'x Int32');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:338: DB::insertUUID(DB::IColumn&, std::shared_ptr, char const*, unsigned long) @ 0x000000001d75339f 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:486: DB::MsgPackVisitor::visit_ext(char const*, unsigned int) @ 0x000000001d7530e4 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:453: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76ce3e 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:09:04.121852 [ 10876 ] {6f9fa535-586e-4225-98ed-010218af8266} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack UUID into column with type Int32.: (in file/uri /var/lib/clickhouse/user_files/02422_data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:338: DB::insertUUID(DB::IColumn&, std::shared_ptr, char const*, unsigned long) @ 0x000000001d75339f 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:486: DB::MsgPackVisitor::visit_ext(char const*, unsigned int) @ 0x000000001d7530e4 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:453: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76ce3e 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:09:15.723175 [ 35237 ] {bcc71c0e-90aa-440c-99e5-d57b8ee60153} executeQuery: Code: 497. DB::Exception: user_test_02416: Not enough privileges. To execute this query, it's necessary to have the grant SELECT, DROP DATABASE ON user_test_02416.*. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:46064) (comment: 02416_rename_database_rbac.sh) (in query: RENAME DATABASE user_test_02416 to aaaaaaaaa;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019575c31 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x00000000195741ed 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>) const @ 0x000000001953e05d 9. /build/src/Access/ContextAccess.cpp:674: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d00 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterRenameQuery.cpp:41: DB::InterpreterRenameQuery::execute() @ 0x000000001b4369b8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 22:09:15.724462 [ 35237 ] {bcc71c0e-90aa-440c-99e5-d57b8ee60153} TCPHandler: Code: 497. DB::Exception: user_test_02416: Not enough privileges. To execute this query, it's necessary to have the grant SELECT, DROP DATABASE ON user_test_02416.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000019575c31 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x00000000195741ed 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&, std::basic_string_view>) const @ 0x000000001953e05d 9. /build/src/Access/ContextAccess.cpp:674: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000019582d00 10. /build/src/Access/ContextAccess.cpp:693: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001953e452 11. /build/src/Access/ContextAccess.cpp:701: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001953e4ee 12. /build/src/Access/ContextAccess.cpp:731: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001953965d 13. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001a56e516 14. /build/src/Interpreters/Context.cpp:1412: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001a543add 15. /build/src/Interpreters/InterpreterRenameQuery.cpp:41: DB::InterpreterRenameQuery::execute() @ 0x000000001b4369b8 16. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 17. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 18. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 19. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 25. ? @ 0x00007ff3d325bac3 26. ? @ 0x00007ff3d32ed850 2025.03.05 22:11:14.377419 [ 10876 ] {1a82209e-3703-4b76-b878-32e76cf0c46f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:36530) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:11:14.378157 [ 10876 ] {1a82209e-3703-4b76-b878-32e76cf0c46f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:11:14.393693 [ 10876 ] {dbc63199-3e78-4c76-be53-30a257b99788} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:36530) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_unknown_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 22:11:14.394459 [ 10876 ] {dbc63199-3e78-4c76-be53-30a257b99788} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000b4fd2cc 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6970: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a8b52 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 10. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 21. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 22. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 23. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 24. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 25. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 31. ? @ 0x00007ff3d325bac3 2025.03.05 22:11:33.671305 [ 35237 ] {1cf91f2f-f4d7-4f71-b179-fff4a49aa766} executeQuery: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:46978) (comment: 02302_s3_file_pruning.sql) (in query: select * from test_02302;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageS3.cpp:1198: DB::ReadFromStorageS3Step::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001c632c5d 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:11:33.672284 [ 35237 ] {1cf91f2f-f4d7-4f71-b179-fff4a49aa766} TCPHandler: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageS3.cpp:1198: DB::ReadFromStorageS3Step::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001c632c5d 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd07a90 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001dd3251f 9. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x000000001b507541 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x000000001b50729b 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:11:44.161776 [ 35237 ] {bd03ebfb-f925-4afb-95a7-b066be5bf0f9} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:52302) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:11:44.162669 [ 35237 ] {bd03ebfb-f925-4afb-95a7-b066be5bf0f9} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:10.569370 [ 10876 ] {96ae65f5-cd59-4913-aa34-fa461f0b510a} executeQuery: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 07:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:47872) (comment: 02246_async_insert_quota.sh) (in query: INSERT INTO async_inserts_02246 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x00000000188d31b6 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x00000000195d3a4d 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x00000000195d1fb5 8. /build/src/Access/EnabledQuota.cpp:252: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x00000000195d0c7b 9. /build/src/Access/EnabledQuota.cpp:245: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x00000000195d0be8 10. /build/src/Interpreters/executeQuery.cpp:1046: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbaf9e3 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:10.571209 [ 10876 ] {96ae65f5-cd59-4913-aa34-fa461f0b510a} TCPHandler: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 07:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x00000000188d31b6 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x00000000195d3a4d 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x00000000195d1fb5 8. /build/src/Access/EnabledQuota.cpp:252: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x00000000195d0c7b 9. /build/src/Access/EnabledQuota.cpp:245: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x00000000195d0be8 10. /build/src/Interpreters/executeQuery.cpp:1046: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbaf9e3 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:45.964243 [ 35237 ] {bc789108-b39c-4a7a-892c-ef1e00f1c230} executeQuery: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:46266) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:860: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000019539d16 7. /build/src/Access/ContextAccess.cpp:878: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x000000001953a022 8. /build/src/Interpreters/Access/InterpreterGrantQuery.cpp:470: DB::InterpreterGrantQuery::execute() @ 0x000000001bd18561 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:45.966329 [ 35237 ] {bc789108-b39c-4a7a-892c-ef1e00f1c230} TCPHandler: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Access/ContextAccess.cpp:860: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000019539d16 7. /build/src/Access/ContextAccess.cpp:878: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x000000001953a022 8. /build/src/Interpreters/Access/InterpreterGrantQuery.cpp:470: DB::InterpreterGrantQuery::execute() @ 0x000000001bd18561 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:49.612190 [ 35237 ] {8e241a9e-3d96-414f-b692-49a369eaaabf} executeQuery: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_inh7l21j.test. (ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:38358) (comment: 02243_drop_user_grant_race.sh) (in query: SELECT * FROM test), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000195819d1 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x000000001957ff16 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>, std::vector>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&, std::vector> const&) const @ 0x000000001953e3f0 9. /build/src/Access/ContextAccess.cpp:729: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x00000000195395f1 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x000000001a56e40e 11. /build/src/Interpreters/Context.cpp:1410: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x000000001a543a20 12. /build/src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::checkAccessRights(DB::TableNode const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b558519 13. /build/src/Planner/PlannerJoinTree.cpp:358: DB::(anonymous namespace)::prepareBuildQueryPlanForTableExpression(std::shared_ptr const&, std::shared_ptr&) @ 0x000000001b54e467 14. /build/src/Planner/PlannerJoinTree.cpp:1658: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d480 15. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 16. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 18. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 22:13:49.614174 [ 35237 ] {8e241a9e-3d96-414f-b692-49a369eaaabf} TCPHandler: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_inh7l21j.test. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Access/ContextAccess.cpp:546: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000195819d1 7. /build/src/Access/ContextAccess.cpp:586: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x000000001957ff16 8. /build/src/Access/ContextAccess.cpp:657: bool DB::ContextAccess::checkAccessImpl>, std::vector>>(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view> const&, std::vector> const&) const @ 0x000000001953e3f0 9. /build/src/Access/ContextAccess.cpp:729: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x00000000195395f1 10. /build/src/Interpreters/Context.cpp:1398: void DB::Context::checkAccessImpl>>(DB::AccessFlags const&, String const&, String const&, std::vector> const&) const @ 0x000000001a56e40e 11. /build/src/Interpreters/Context.cpp:1410: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x000000001a543a20 12. /build/src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::checkAccessRights(DB::TableNode const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001b558519 13. /build/src/Planner/PlannerJoinTree.cpp:358: DB::(anonymous namespace)::prepareBuildQueryPlanForTableExpression(std::shared_ptr const&, std::shared_ptr&) @ 0x000000001b54e467 14. /build/src/Planner/PlannerJoinTree.cpp:1658: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d480 15. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 16. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 18. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 19. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 20. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 21. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 27. ? @ 0x00007ff3d325bac3 28. ? @ 0x00007ff3d32ed850 2025.03.05 22:14:04.661122 [ 36266 ] {633165d0-3424-406a-8a29-97268fabd84f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:54698) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:14:04.661864 [ 36266 ] {633165d0-3424-406a-8a29-97268fabd84f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:14:51.581902 [ 35237 ] {b96f02f5-d93d-468e-9013-e32ed563b37a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:39848) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:14:51.582635 [ 35237 ] {b96f02f5-d93d-468e-9013-e32ed563b37a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:16:05.750947 [ 1478 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000028: localhost:9000 and localhost:9000. Will use the first one only. 2025.03.05 22:18:38.939193 [ 35237 ] {9d6cd439-b299-4fab-badd-2417f29a0b6f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:32818) (comment: 02167_format_from_file_extension.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:38.941790 [ 35237 ] {9d6cd439-b299-4fab-badd-2417f29a0b6f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:42.887634 [ 36266 ] {d20cbf76-11d0-4408-a6e5-4192350e9019} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 24.3.12.76.altinitystable) (from [::1]:32828) (comment: 02155_multiple_inserts_for_formats_with_suffix.sql) (in query: insert into test select * from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:42.888490 [ 36266 ] {d20cbf76-11d0-4408-a6e5-4192350e9019} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.266171 [ 36266 ] {38788d0f-26ab-4b1e-bbf6-2e8207f82695} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 24.3.12.76.altinitystable) (from [::1]:32828) (comment: 02155_multiple_inserts_for_formats_with_suffix.sql) (in query: insert into test select * from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.267175 [ 36266 ] {38788d0f-26ab-4b1e-bbf6-2e8207f82695} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.608506 [ 36266 ] {49969978-3409-4787-81e4-3b29333592dc} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 24.3.12.76.altinitystable) (from [::1]:32828) (comment: 02155_multiple_inserts_for_formats_with_suffix.sql) (in query: insert into table function file(concat(currentDatabase(), '/test2/data.Parquet'), 'Parquet', 'number UInt64') select * from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.609406 [ 36266 ] {49969978-3409-4787-81e4-3b29333592dc} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.874405 [ 36266 ] {6e9b55f4-6993-4d60-9be5-a6331e5a1c54} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 24.3.12.76.altinitystable) (from [::1]:32828) (comment: 02155_multiple_inserts_for_formats_with_suffix.sql) (in query: insert into test select * from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:43.875145 [ 36266 ] {6e9b55f4-6993-4d60-9be5-a6331e5a1c54} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:44.124154 [ 36266 ] {cf49306e-41c6-424c-8508-9ab78b0ea65b} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 24.3.12.76.altinitystable) (from [::1]:32828) (comment: 02155_multiple_inserts_for_formats_with_suffix.sql) (in query: insert into table function file(concat(currentDatabase(), '/test4/data.Parquet.gz'), 'Parquet', 'number UInt64') select * from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:44.124847 [ 36266 ] {cf49306e-41c6-424c-8508-9ab78b0ea65b} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/StorageFile.cpp:1994: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001c37b1e6 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:572: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001db6c615 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001b42a040 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:576: DB::InterpreterInsertQuery::execute() @ 0x000000001b42d034 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:48.940216 [ 36266 ] {8f1cd090-0383-4d38-bd09-989059fa7cbf} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:39600) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:48.941993 [ 36266 ] {8f1cd090-0383-4d38-bd09-989059fa7cbf} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:18:49.647083 [ 36266 ] {f407e405-373c-4b6b-99ab-047f01981b6e} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist: , errno: 2, strerror: No such file or directory: While executing File. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:39602) (in query: select * from file('test_02149_schema_inference_test_ou7xfm55.data', 'Template', 'val1 char') settings format_template_row='nonexist'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&) @ 0x0000000013359736 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001335cac1 8. /build/src/Formats/ParsedTemplateFormatString.cpp:19: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000001d9d78c7 9. /build/src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:562: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000001d9dd914 10. /build/src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:590: DB::registerInputFormatTemplate(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001d9dd4d3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d9dd3b9 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d9dd2f5 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d9dd295 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d9dd23d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d4afa96 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d4ab815 17. /build/src/Formats/FormatFactory.cpp:377: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr const&, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod, bool) const @ 0x000000001d49ef41 18. /build/src/Storages/StorageFile.cpp:1396: DB::StorageFileSource::generate() @ 0x000000001c3781e8 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 23. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 24. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 25. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 22:18:49.649379 [ 36266 ] {f407e405-373c-4b6b-99ab-047f01981b6e} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist: , errno: 2, strerror: No such file or directory: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&) @ 0x0000000013359736 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001335cac1 8. /build/src/Formats/ParsedTemplateFormatString.cpp:19: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000001d9d78c7 9. /build/src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:562: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000001d9dd914 10. /build/src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:590: DB::registerInputFormatTemplate(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001d9dd4d3 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d9dd3b9 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001d9dd2f5 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d9dd295 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d9dd23d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001d4afa96 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001d4ab815 17. /build/src/Formats/FormatFactory.cpp:377: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr const&, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod, bool) const @ 0x000000001d49ef41 18. /build/src/Storages/StorageFile.cpp:1396: DB::StorageFileSource::generate() @ 0x000000001c3781e8 19. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 20. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 23. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 24. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 25. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 22:22:02.483078 [ 36266 ] {ffc01892-ac09-422c-975e-ec616cab49c0} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:45394) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:22:02.484444 [ 36266 ] {ffc01892-ac09-422c-975e-ec616cab49c0} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:22:51.204013 [ 36266 ] {bfb892b6-1a2a-4f7c-8d85-29f9e49da56f} executeQuery: Code: 33. DB::Exception: Error while parsing Nullable: got an unquoted string n instead of a number: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : (in file/uri /var/lib/clickhouse/user_files/test_02130.data): While executing CustomSeparatedRowInputFormat: While executing File. (CANNOT_READ_ALL_DATA) (version 24.3.12.76.altinitystable) (from [::1]:60560) (comment: 02130_parse_quoted_null.sh) (in query: select * from file('test_02130.data', 'CustomSeparated', 'x Nullable(Float64), y Nullable(UInt64)') settings input_format_parallel_parsing=0, format_custom_escaping_rule='Quoted'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:539: void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a026b63 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda1'(DB::ReadBuffer&)&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda1'(DB::ReadBuffer&)&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a020bc9 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:545: void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022315 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:554: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a01f752 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001d62e319 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001d6e7349 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:232: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f385 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:22:51.209785 [ 36266 ] {bfb892b6-1a2a-4f7c-8d85-29f9e49da56f} TCPHandler: Code: 33. DB::Exception: Error while parsing Nullable: got an unquoted string n instead of a number: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : (in file/uri /var/lib/clickhouse/user_files/test_02130.data): While executing CustomSeparatedRowInputFormat: While executing File. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:539: void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)::operator()(DB::IColumn&, DB::ReadBuffer&) const @ 0x000000001a026b63 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:228: void DB::deserializeImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda1'(DB::ReadBuffer&)&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)&>(DB::IColumn&, DB::ReadBuffer&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda1'(DB::ReadBuffer&)&, void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&)::'lambda0'(DB::IColumn&, DB::ReadBuffer&)&, bool&) @ 0x000000001a020bc9 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:545: void DB::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&, bool&) @ 0x000000001a022315 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:554: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001a01f752 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001d62e319 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001d6e7349 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:232: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d63f385 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:23:01.621944 [ 35237 ] {7b155e3d-242a-4970-b6e2-08898691bf41} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'x' in scope () -> x. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:50680) (comment: 02126_identity_user_defined_function.sql) (in query: SELECT 02126_function();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5794: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b8bf7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 22:23:01.622823 [ 35237 ] {7b155e3d-242a-4970-b6e2-08898691bf41} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'x' in scope () -> x. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5288: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0c1595 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5794: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0b8bf7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 15. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 26. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 27. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 22:23:06.552640 [ 36266 ] {284306d7-dc0f-42e4-8f5c-2ef5a0deb913} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:50688) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:23:06.554683 [ 36266 ] {284306d7-dc0f-42e4-8f5c-2ef5a0deb913} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:23:14.807290 [ 35237 ] {ef0be8cd-1148-4bd5-ae4b-8997a799162d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:39338) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:23:14.808076 [ 35237 ] {ef0be8cd-1148-4bd5-ae4b-8997a799162d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:23:38.808211 [ 36266 ] {7d034833-1360-4eca-9424-776fee54548b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:42392) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:23:38.809147 [ 36266 ] {7d034833-1360-4eca-9424-776fee54548b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:08.939085 [ 35237 ] {1a185fb3-aba4-44b3-b1ca-a81b4e43fdcb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:43582) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:08.940365 [ 35237 ] {1a185fb3-aba4-44b3-b1ca-a81b4e43fdcb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:19.525545 [ 6715 ] {83af01a9-c31e-41a5-8698-9814d8ae19d8} ExternalDictionariesLoader: Could not load external dictionary 'b73db038-9228-4c3a-8f13-ffc1513514c9', next update is scheduled at 2025-03-05 22:26:24: Code: 1. DB::Exception: test_ow775pme.ip_trie_dictionary (b73db038-9228-4c3a-8f13-ffc1513514c9): array or nullable attributes not supported for dictionary of type Trie. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Dictionaries/IPAddressDictionary.cpp:389: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001610b0df 7. /build/src/Dictionaries/IPAddressDictionary.cpp:405: DB::IPAddressDictionary::createAttributes() @ 0x0000000016106f6c 8. /build/src/Dictionaries/IPAddressDictionary.cpp:211: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::IPAddressDictionary::Configuration) @ 0x0000000016106dff 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::IPAddressDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::IPAddressDictionary::Configuration&) @ 0x000000001619b5c8 10. /build/src/Dictionaries/IPAddressDictionary.cpp:1198: DB::registerDictionaryTrie(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001616068c 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001616027b 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016160196 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016160116 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000161600a2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 (version 24.3.12.76.altinitystable) 2025.03.05 22:26:19.527740 [ 36266 ] {83af01a9-c31e-41a5-8698-9814d8ae19d8} executeQuery: Code: 1. DB::Exception: test_ow775pme.ip_trie_dictionary (b73db038-9228-4c3a-8f13-ffc1513514c9): array or nullable attributes not supported for dictionary of type Trie: In scope SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:43598) (comment: 01904_dictionary_default_nullable_type.sql) (in query: SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0')));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Dictionaries/IPAddressDictionary.cpp:389: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001610b0df 7. /build/src/Dictionaries/IPAddressDictionary.cpp:405: DB::IPAddressDictionary::createAttributes() @ 0x0000000016106f6c 8. /build/src/Dictionaries/IPAddressDictionary.cpp:211: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::IPAddressDictionary::Configuration) @ 0x0000000016106dff 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::IPAddressDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::IPAddressDictionary::Configuration&) @ 0x000000001619b5c8 10. /build/src/Dictionaries/IPAddressDictionary.cpp:1198: DB::registerDictionaryTrie(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001616068c 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001616027b 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016160196 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016160116 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000161600a2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 22:26:19.528578 [ 36266 ] {83af01a9-c31e-41a5-8698-9814d8ae19d8} TCPHandler: Code: 1. DB::Exception: test_ow775pme.ip_trie_dictionary (b73db038-9228-4c3a-8f13-ffc1513514c9): array or nullable attributes not supported for dictionary of type Trie: In scope SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Dictionaries/IPAddressDictionary.cpp:389: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001610b0df 7. /build/src/Dictionaries/IPAddressDictionary.cpp:405: DB::IPAddressDictionary::createAttributes() @ 0x0000000016106f6c 8. /build/src/Dictionaries/IPAddressDictionary.cpp:211: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::IPAddressDictionary::Configuration) @ 0x0000000016106dff 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::IPAddressDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::IPAddressDictionary::Configuration&) @ 0x000000001619b5c8 10. /build/src/Dictionaries/IPAddressDictionary.cpp:1198: DB::registerDictionaryTrie(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001616068c 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001616027b 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000016160196 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000016160116 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000161600a2 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x00000000190551e2 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x00000000190525fb 17. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000019051d01 18. /build/src/Interpreters/ExternalDictionariesLoader.cpp:42: DB::ExternalDictionariesLoader::createObject(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001ac64ca9 19. /build/src/Interpreters/ExternalLoader.cpp:1511: DB::ExternalLoader::createOrCloneObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001ac68767 20. /build/src/Interpreters/ExternalLoader.cpp:1040: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x000000001ac767cd 21. /build/src/Interpreters/ExternalLoader.cpp:995: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001ac747d5 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: ? @ 0x000000001ac7db5e 23. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul>) @ 0x000000001ac7da59 24. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ExternalLoader::LoadingDispatcher::*&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), std::tuple>&) @ 0x000000001ac7d85d 25. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001ac7d71d 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001ac7d675 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001ac7d655 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001ac7d635 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001ac7d600 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 2025.03.05 22:26:25.606438 [ 35237 ] {16271459-57fe-44e3-8fbc-c1621e33c5de} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column __table1.n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 24.3.12.76.altinitystable) (from [::1]:51052) (comment: 01902_table_function_merge_db_repr.sql) (in query: SELECT NULL FROM 01902_db.t_merge WHERE n ORDER BY _table DESC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Processors/Transforms/FilterTransform.cpp:192: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001da43efb 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001dd041c9 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x000000001b523ecd 9. /build/src/Planner/Planner.cpp:347: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b512048 10. /build/src/Planner/Planner.cpp:1533: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f370 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:25.607304 [ 35237 ] {16271459-57fe-44e3-8fbc-c1621e33c5de} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column __table1.n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000b49848c 6. /build/src/Processors/Transforms/FilterTransform.cpp:192: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001da43efb 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001dd041c9 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String const&, bool const&>(DB::DataStream const&, std::shared_ptr const&, String const&, bool const&) @ 0x000000001b523ecd 9. /build/src/Planner/Planner.cpp:347: DB::(anonymous namespace)::addFilterStep(DB::QueryPlan&, DB::FilterAnalysisResult const&, String const&, std::vector, std::allocator>>&) @ 0x000000001b512048 10. /build/src/Planner/Planner.cpp:1533: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50f370 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 13. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:41.388779 [ 37450 ] {d8c36d16-b04c-4281-beb9-e2676907a7cc} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:55592) (comment: 01825_type_json_multiple_files.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:26:41.390528 [ 37450 ] {d8c36d16-b04c-4281-beb9-e2676907a7cc} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:28:21.557431 [ 37450 ] {cecd3fc3-7ae1-407e-a381-fbc185689067} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:49862) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:28:21.558652 [ 37450 ] {cecd3fc3-7ae1-407e-a381-fbc185689067} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:28:48.614367 [ 37450 ] {2c3e87e7-79e0-4fe4-8377-13a62236943c} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt: , errno: 2, strerror: No such file or directory: In scope SELECT file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:41074) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('nonexist.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&) @ 0x0000000013359736 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001335cac1 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926123 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 22:28:48.616408 [ 37450 ] {2c3e87e7-79e0-4fe4-8377-13a62236943c} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt: , errno: 2, strerror: No such file or directory: In scope SELECT file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&) @ 0x0000000013359736 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001335cac1 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926123 9. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 11. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 12. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 13. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 14. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 15. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 23. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 27. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 2025.03.05 22:28:52.408053 [ 37450 ] {3b1a7fa9-46b4-400f-a35d-25d09b8d65ea} executeQuery: Code: 74. DB::ErrnoException: Cannot read from file /var/lib/clickhouse/user_files/dir: , errno: 21, strerror: Is a directory: In scope SELECT file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 24.3.12.76.altinitystable) (from [::1]:41084) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('dir'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&&) @ 0x0000000013350216 7. /build/src/IO/ReadBufferFromFileDescriptor.cpp:83: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) const @ 0x000000001335f1ed 8. /build/src/IO/ReadBufferFromFileDescriptor.cpp:124: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x000000001335f496 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x0000000013397437 11. /build/src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x0000000013397382 12. /build/src/Functions/FunctionFile.cpp:137: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a92615f 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 22:28:52.410013 [ 37450 ] {3b1a7fa9-46b4-400f-a35d-25d09b8d65ea} TCPHandler: Code: 74. DB::ErrnoException: Cannot read from file /var/lib/clickhouse/user_files/dir: , errno: 21, strerror: Is a directory: In scope SELECT file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:176: DB::ErrnoException::ErrnoException(String&&, int, int) @ 0x0000000013342a0c 6. /build/src/Common/Exception.h:212: void DB::ErrnoException::throwFromPath(int, String const&, FormatStringHelperImpl::type>, String&&) @ 0x0000000013350216 7. /build/src/IO/ReadBufferFromFileDescriptor.cpp:83: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) const @ 0x000000001335f1ed 8. /build/src/IO/ReadBufferFromFileDescriptor.cpp:124: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x000000001335f496 9. /build/src/IO/ReadBuffer.h:70: DB::ReadBuffer::next() @ 0x000000000af5da6a 10. /build/src/IO/ReadBuffer.h:106: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x0000000013397437 11. /build/src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x0000000013397382 12. /build/src/Functions/FunctionFile.cpp:137: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a92615f 13. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 15. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 16. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 17. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 18. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 19. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 27. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 28. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 2025.03.05 22:28:56.053796 [ 37450 ] {108f9521-a58f-4897-98f5-061074b0db8a} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:41086) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('/tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:28:56.056964 [ 37450 ] {108f9521-a58f-4897-98f5-061074b0db8a} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:28:59.504304 [ 37450 ] {0435be50-9d8e-4faf-912b-b4ef0a13b24b} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:37442) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:28:59.506673 [ 37450 ] {0435be50-9d8e-4faf-912b-b4ef0a13b24b} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:29:02.720483 [ 37450 ] {72493b2e-183f-4ad1-834e-2365087f7d96} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::1]:37448) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../a.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:29:02.724708 [ 37450 ] {72493b2e-183f-4ad1-834e-2365087f7d96} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: In scope SELECT file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Functions/FunctionFile.cpp:133: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a926010 7. /build/src/Functions/IFunction.h:443: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a8ee099 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000af697ad 9. /build/src/Functions/IFunction.cpp:277: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061506 10. /build/src/Functions/IFunction.cpp:191: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019061083 11. /build/src/Functions/IFunction.cpp:269: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190613e3 12. /build/src/Functions/IFunction.cpp:336: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000019062626 13. /build/src/Functions/IFunction.cpp:411: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000190636b5 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6185: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc989 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:29:26.565496 [ 37450 ] {7cf2667f-b81c-4059-9fcd-98be6bc6e089} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_atomic.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.566322 [ 37450 ] {7cf2667f-b81c-4059-9fcd-98be6bc6e089} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.724247 [ 37450 ] {d7b86d0b-2c91-4c7d-b30c-7629ca0d1219} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.725071 [ 37450 ] {d7b86d0b-2c91-4c7d-b30c-7629ca0d1219} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.740745 [ 37450 ] {b355f433-4f08-46f7-8eda-fdffe20d0196} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.741376 [ 37450 ] {b355f433-4f08-46f7-8eda-fdffe20d0196} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.776393 [ 37450 ] {6b1e5583-ea36-46a9-af9b-6ee2b8934cfd} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.777021 [ 37450 ] {6b1e5583-ea36-46a9-af9b-6ee2b8934cfd} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.947692 [ 37450 ] {fc995a1b-77ce-497c-a09b-9d35ae3913b9} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_atomic.test_name_rename_attempt TO test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseAtomic.cpp:247: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5bbf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:26.948471 [ 37450 ] {fc995a1b-77ce-497c-a09b-9d35ae3913b9} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseAtomic.cpp:247: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5bbf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.077509 [ 37450 ] {9109d6e9-eeca-4595-a79d-e44a5865e45d} executeQuery: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: EXCHANGE TABLES test1601_detach_permanently_atomic.test_name_rename_attempt AND test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:262: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5ddf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.078361 [ 37450 ] {9109d6e9-eeca-4595-a79d-e44a5865e45d} TCPHandler: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:262: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5ddf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.161678 [ 37450 ] {9318a7bb-6120-4ce2-8045-efa08bdbe74b} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2025.03.05 22:29:27.282765 [ 37450 ] {9318a7bb-6120-4ce2-8045-efa08bdbe74b} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: ATTACH TABLE test1601_detach_permanently_atomic.test_name_reuse UUID '00000000-0000-0000-0000-000000000001' (`number` UInt64 ) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192 ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/DatabaseOnDisk.cpp:231: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a0b05a3 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1544: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01dcfd 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.283585 [ 37450 ] {9318a7bb-6120-4ce2-8045-efa08bdbe74b} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000aa258e4 6. /build/src/Databases/DatabaseOnDisk.cpp:231: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a0b05a3 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1544: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01dcfd 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.450277 [ 37450 ] {bb9b61d4-9fa5-4a50-bf3d-ac815cab480b} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.451010 [ 37450 ] {bb9b61d4-9fa5-4a50-bf3d-ac815cab480b} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.743735 [ 37450 ] {9b141a00-fb0c-4c5d-a529-ee23575bc44f} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:27.744501 [ 37450 ] {9b141a00-fb0c-4c5d-a529-ee23575bc44f} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.185634 [ 37450 ] {880ec3e3-ef3d-4b44-8d05-b139129636a1} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_ordinary.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.186357 [ 37450 ] {880ec3e3-ef3d-4b44-8d05-b139129636a1} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.227183 [ 37450 ] {b7bb60f5-d914-4423-a14f-6dbb24cc98de} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.227845 [ 37450 ] {b7bb60f5-d914-4423-a14f-6dbb24cc98de} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.243825 [ 37450 ] {778fe6eb-cad7-4205-b1b0-271a7fd34f25} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.244392 [ 37450 ] {778fe6eb-cad7-4205-b1b0-271a7fd34f25} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.285507 [ 37450 ] {19d6b939-235b-45d9-a646-fd7e5e8ee77a} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.286332 [ 37450 ] {19d6b939-235b-45d9-a646-fd7e5e8ee77a} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.474713 [ 37450 ] {4d14bcdc-eb79-491b-8110-698a70420a6e} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_ordinary.test_name_rename_attempt TO test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Databases/DatabaseOnDisk.cpp:437: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0b4969 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.475440 [ 37450 ] {4d14bcdc-eb79-491b-8110-698a70420a6e} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Databases/DatabaseOnDisk.cpp:437: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0b4969 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.569681 [ 37450 ] {86809a40-d021-4796-b69a-3b3c4d105015} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2025.03.05 22:29:28.729669 [ 37450 ] {8d31798b-31a4-412c-8fa6-6c80c45ff91b} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:28.730416 [ 37450 ] {8d31798b-31a4-412c-8fa6-6c80c45ff91b} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.019502 [ 37450 ] {a3a3e6b9-4b8e-437a-b34f-b2cc5d7dd08b} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.020183 [ 37450 ] {a3a3e6b9-4b8e-437a-b34f-b2cc5d7dd08b} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.343882 [ 37450 ] {8398b1b9-5c4e-40a4-9515-e5fc6324a0dc} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_ordinary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Databases/DatabaseOnDisk.cpp:565: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001a0b74c3 7. /build/src/Interpreters/DatabaseCatalog.cpp:607: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x000000001a6711b9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:436: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03e2d3 9. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 10. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.344679 [ 37450 ] {8398b1b9-5c4e-40a4-9515-e5fc6324a0dc} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Databases/DatabaseOnDisk.cpp:565: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001a0b74c3 7. /build/src/Interpreters/DatabaseCatalog.cpp:607: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x000000001a6711b9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:436: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03e2d3 9. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 10. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.630400 [ 37450 ] {f72d387d-2b38-4f28-9116-7824e6fd1e2e} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_lazy.test_name_reuse (number UInt64) engine=Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.631115 [ 37450 ] {f72d387d-2b38-4f28-9116-7824e6fd1e2e} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1404: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01add0 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.671272 [ 37450 ] {5779dd12-aef6-410c-bb0f-dfd102ae6f3b} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.672330 [ 37450 ] {5779dd12-aef6-410c-bb0f-dfd102ae6f3b} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.688372 [ 37450 ] {b514daec-9740-435a-9800-844a67fc1c45} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.689023 [ 37450 ] {b514daec-9740-435a-9800-844a67fc1c45} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.727767 [ 37450 ] {5222667f-574c-4c57-b686-f9dd94d74839} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.728599 [ 37450 ] {5222667f-574c-4c57-b686-f9dd94d74839} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.906151 [ 37450 ] {569ac53c-9b95-48ad-804f-7aee1b16e1ac} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_lazy.test_name_rename_attempt TO test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Databases/DatabaseOnDisk.cpp:437: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0b4969 9. /build/src/Databases/DatabaseLazy.cpp:104: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a16d8ce 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.906979 [ 37450 ] {569ac53c-9b95-48ad-804f-7aee1b16e1ac} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabaseOnDisk.cpp:370: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001a0b3b0a 7. /build/src/Databases/DatabaseOnDisk.cpp:358: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x000000001a0b38d2 8. /build/src/Databases/DatabaseOnDisk.cpp:437: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0b4969 9. /build/src/Databases/DatabaseLazy.cpp:104: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a16d8ce 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:29.981750 [ 37450 ] {c9b2b4e2-0dc5-4337-b713-1f304c68325f} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2025.03.05 22:29:30.085069 [ 37450 ] {8d64b84b-eacb-42de-a1ac-ccc9b59df40f} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:30.085696 [ 37450 ] {8d64b84b-eacb-42de-a1ac-ccc9b59df40f} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:30.272367 [ 37450 ] {0ac8dffe-1c79-4a9c-b9bf-e04fa4675557} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:30.273000 [ 37450 ] {0ac8dffe-1c79-4a9c-b9bf-e04fa4675557} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/IDatabase.cpp:37: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001a144972 7. /build/src/Interpreters/DatabaseCatalog.cpp:429: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66ed96 8. /build/src/Interpreters/DatabaseCatalog.cpp:966: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6742d8 9. /build/src/Interpreters/InterpreterDropQuery.cpp:131: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001b03ad01 10. /build/src/Interpreters/InterpreterDropQuery.cpp:102: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001b03a394 11. /build/src/Interpreters/InterpreterDropQuery.cpp:73: DB::InterpreterDropQuery::execute() @ 0x000000001b03994e 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:30.382978 [ 37450 ] {fa33f4e5-fbc0-4160-ace8-c1a3ff5d2e9e} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 24.3.12.76.altinitystable) (from [::1]:60182) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_lazy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Databases/DatabaseOnDisk.cpp:565: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001a0b74c3 7. /build/src/Interpreters/DatabaseCatalog.cpp:607: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x000000001a6711b9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:436: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03e2d3 9. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 10. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:29:30.383583 [ 37450 ] {fa33f4e5-fbc0-4160-ace8-c1a3ff5d2e9e} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000ece59b3 6. /build/src/Databases/DatabaseOnDisk.cpp:565: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001a0b74c3 7. /build/src/Interpreters/DatabaseCatalog.cpp:607: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x000000001a6711b9 8. /build/src/Interpreters/InterpreterDropQuery.cpp:436: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x000000001b03e2d3 9. /build/src/Interpreters/InterpreterDropQuery.cpp:335: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001b03a4d9 10. /build/src/Interpreters/InterpreterDropQuery.cpp:81: DB::InterpreterDropQuery::execute() @ 0x000000001b039c04 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:33:11.187501 [ 37450 ] {5e180359-83c6-48b5-a8d5-3d9474b09619} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS) (version 24.3.12.76.altinitystable) (from [::1]:58600) (comment: 01530_drop_database_atomic_sync.sql) (in query: CREATE TABLE db_01530_atomic.data (`key` Int) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') ORDER BY key SETTINGS index_granularity = 41638, min_bytes_for_wide_part = 47208689, ratio_of_defaults_for_sparse_serialization = 1., replace_long_file_name_to_hash = false, max_file_name_length = 0, min_bytes_for_full_part_storage = 0, compact_parts_max_bytes_to_buffer = 96651563, compact_parts_max_granules_to_buffer = 14, compact_parts_merge_max_bytes_to_prefetch_part = 29222477, merge_max_block_size = 825, old_parts_lifetime = 342., prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 3904588, concurrent_part_removal_threshold = 0, allow_vertical_merges_from_compact_to_wide_parts = false, cache_populated_by_fetch = true, marks_compress_block_size = 26837, primary_key_compress_block_size = 51597), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1065: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001c4bb693 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:537: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, DB::RenamingRestrictions, bool) @ 0x000000001c4b17b9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8e38 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8b02 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8754 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e851f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e6288 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:726: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3e08 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:33:11.188683 [ 37450 ] {5e180359-83c6-48b5-a8d5-3d9474b09619} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1065: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001c4bb693 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:537: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, DB::LoadingStrictnessLevel, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, DB::RenamingRestrictions, bool) @ 0x000000001c4b17b9 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8e38 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8b02 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e8754 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e851f 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, DB::RenamingRestrictions&, bool&, void>(String&, String&, DB::LoadingStrictnessLevel const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, DB::RenamingRestrictions&, bool&) @ 0x000000001d0e6288 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:726: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001d0e3e08 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019306cfd 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x0000000019306cbd 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019306c7d 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019306c45 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001c36f7de 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001c36e0fd 20. /build/src/Storages/StorageFactory.cpp:224: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::LoadingStrictnessLevel) const @ 0x000000001c36ca1d 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1493: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01d20c 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 24. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:36:25.074827 [ 6704 ] {c60f9c1f-4b31-4541-8747-843879bd8662} DistributedSink: Structure does not match (remote: n Int8 Int8(size = 0), local: n UInt64 UInt64(size = 1)), implicit conversion will be done. 2025.03.05 22:36:33.575049 [ 38969 ] {be99e63b-c035-4223-94ed-a9ece85b6c6f} executeQuery: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found: In scope SELECT dictGet('default.countryId', 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:43872) (comment: 01376_GROUP_BY_injective_elimination_dictGet.sql) (in query: -- https://github.com/ClickHouse/ClickHouse/issues/11469 SELECT dictGet('default.countryId', 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:36:33.576051 [ 38969 ] {be99e63b-c035-4223-94ed-a9ece85b6c6f} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found: In scope SELECT dictGet('default.countryId', 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:161: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001ac65732 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:106: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001ac65bc0 8. /build/src/Functions/FunctionsExternalDictionaries.h:139: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000b013238 9. /build/src/Functions/FunctionsExternalDictionaries.h:378: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b00c5ca 10. /build/src/Functions/IFunctionAdaptors.h:136: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000af68950 11. /build/src/Functions/IFunction.cpp:522: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x00000000190641e7 12. /build/src/Functions/IFunction.cpp:468: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000019063c36 13. /build/src/Functions/IFunction.cpp:483: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000019064241 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6160: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0bc710 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6487: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a12ea 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 21. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 2025.03.05 22:36:45.541556 [ 857 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:45.541890 [ 857 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:45.542136 [ 1243 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:45.555724 [ 857 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:45.635931 [ 875 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:45.649873 [ 875 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:45.855063 [ 1238 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:45.867772 [ 1238 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:45.949085 [ 812 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:45.963737 [ 812 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:46.467580 [ 908 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:46.487036 [ 908 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:46.563547 [ 918 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:46.578292 [ 918 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:47.484427 [ 887 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:47.494965 [ 887 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:47.577729 [ 923 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:47.590676 [ 923 ] {} test_ysfn8kl1.test_table_1 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:48.994609 [ 840 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:49.008074 [ 840 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:51.107394 [ 888 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:51.120647 [ 888 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:36:53.919633 [ 876 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Table was in readonly mode. Will try to activate it. 2025.03.05 22:36:53.935337 [ 876 ] {} test_ysfn8kl1.test_table_2 (ReplicatedMergeTreeRestartingThread): Failed to restart the table. Will try again: Code: 415. DB::Exception: All replicas are lost. See SYSTEM DROP REPLICA and SYSTEM RESTORE REPLICA queries, they may help. (ALL_REPLICAS_LOST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:3486: DB::StorageReplicatedMergeTree::cloneReplicaIfNeeded(std::shared_ptr) @ 0x000000001c5236d5 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:171: DB::ReplicatedMergeTreeRestartingThread::tryStartup() @ 0x000000001d09168b 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:137: DB::ReplicatedMergeTreeRestartingThread::runImpl() @ 0x000000001d090625 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:63: DB::ReplicatedMergeTreeRestartingThread::run() @ 0x000000001d08e931 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp:48: DB::ReplicatedMergeTreeRestartingThread::ReplicatedMergeTreeRestartingThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001d096bd8 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d096bb5 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d096b95 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d096b75 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d096b3d 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 17. /build/src/Core/BackgroundSchedulePool.cpp:106: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001993149d 18. /build/src/Core/BackgroundSchedulePool.cpp:304: DB::BackgroundSchedulePool::threadFunction() @ 0x0000000019934f06 19. /build/src/Core/BackgroundSchedulePool.cpp:170: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x0000000019935e18 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935df5 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000019935dd9 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x0000000019935d3d 23. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x0000000019935c65 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x0000000019935bd5 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x0000000019935bb5 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x0000000019935b95 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x0000000019935b60 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 30. /build/src/Common/ThreadPool.cpp:536: ThreadPoolImpl::worker(std::__list_iterator) @ 0x00000000133d46b1 31. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133dc104 (version 24.3.12.76.altinitystable) 2025.03.05 22:37:04.961315 [ 38969 ] {520d9124-4920-4fe3-bc4b-26db3c9215d0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:49206) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:05.044098 [ 38969 ] {520d9124-4920-4fe3-bc4b-26db3c9215d0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:10.031104 [ 38969 ] {4613eb30-f7aa-4e83-8f8e-a6e6c58e54c9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 961.37 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:59240) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:10.123993 [ 38969 ] {4613eb30-f7aa-4e83-8f8e-a6e6c58e54c9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 961.37 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:15.147074 [ 38969 ] {a587de06-8a7b-4927-a95c-cdcd37e2d6ad} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 984.70 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:59252) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:15.231517 [ 38969 ] {a587de06-8a7b-4927-a95c-cdcd37e2d6ad} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 984.70 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:20.284805 [ 38969 ] {a2f7f47e-52e0-4063-ac0d-24ac47a5a69c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:52396) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:20.369205 [ 38969 ] {a2f7f47e-52e0-4063-ac0d-24ac47a5a69c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:25.266862 [ 38969 ] {c1d772bc-8d71-43ac-84e5-fe1f427c46d7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:52404) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:25.352182 [ 38969 ] {c1d772bc-8d71-43ac-84e5-fe1f427c46d7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 976.36 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:30.296187 [ 38969 ] {afb270f5-bcdf-4fc6-b7a3-74acd0a239da} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 985.37 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:34244) (comment: 01301_aggregate_state_exception_memory_leak.sh) (in query: SELECT uniqExactState(number) FROM system.numbers_mt GROUP BY number % 10 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:30.381828 [ 38969 ] {afb270f5-bcdf-4fc6-b7a3-74acd0a239da} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 985.37 MiB (attempt to allocate chunk of 33554432 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000132ea0fd 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8510 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000132e8862 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x00000000132554f1 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x0000000013255701 10. /build/src/Common/Allocator.cpp:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013254063 11. /build/src/Common/Allocator.h:112: AllocatorWithStackMemory, 128ul, 1ul>::realloc(void*, unsigned long, unsigned long) @ 0x0000000013e74244 12. /build/src/Common/HashTable/HashTable.h:583: HashTable, HashTableNoState>, HashCRC32, HashTableGrower<4ul>, AllocatorWithStackMemory, 128ul, 1ul>>::resize(unsigned long, unsigned long) @ 0x00000000150d178a 13. /build/src/Common/HashTable/HashTable.h:990: DB::IAggregateFunctionHelper>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150d0346 14. /build/src/AggregateFunctions/IAggregateFunction.h:757: DB::IAggregateFunctionDataHelper, DB::AggregateFunctionUniq>>::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x00000000150cb6f8 15. /build/src/Interpreters/Aggregator.cpp:1117: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, bool, char*) const @ 0x000000001a922009 16. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::ColumnsHashing::HashMethodOneNumber, char*, char8_t, false, false, false>&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a9209a5 17. /build/src/Interpreters/Aggregator.cpp:985: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, DB::ColumnsHashing::LastElementCacheStats&, bool, bool, char*) const @ 0x000000001a7d10f6 18. /build/src/Interpreters/Aggregator.cpp:960: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, bool, char*) const @ 0x000000001a728a42 19. /build/src/Interpreters/Aggregator.cpp:1623: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001a7308b5 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:692: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001dc97133 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:651: DB::AggregatingTransform::work() @ 0x000000001dc94239 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 24. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 25. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 26. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 2025.03.05 22:37:41.585870 [ 34339 ] {b3501fa1-7b7d-421a-8de9-d299a087e41d} executeQuery: Code: 60. DB::Exception: Table `test_2wrh92gl`.`t1` doesn't exist. (UNKNOWN_TABLE) (version 24.3.12.76.altinitystable) (from [::1]:41570) (comment: 01185_create_or_replace_table.sql) (in query: replace table t1 (n UInt64, s String) engine=MergeTree order by n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:262: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5ddf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1661: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x000000001b0191c4 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1309: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b01711c 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 13. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 22:37:41.586718 [ 34339 ] {b3501fa1-7b7d-421a-8de9-d299a087e41d} TCPHandler: Code: 60. DB::Exception: Table `test_2wrh92gl`.`t1` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Databases/DatabasesCommon.cpp:358: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x000000001a138008 7. /build/src/Databases/DatabaseAtomic.cpp:262: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001a0c5ddf 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:143: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001b438431 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:77: DB::InterpreterRenameQuery::execute() @ 0x000000001b436e99 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1661: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x000000001b0191c4 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1309: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b01711c 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 13. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 14. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 15. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 16. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 22. ? @ 0x00007ff3d325bac3 23. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:02.486049 [ 39481 ] {773b32ab-5632-49ca-b714-a9c7a0b1b8da} executeQuery: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME) (version 24.3.12.76.altinitystable) (from [::1]:36404) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_5 DROP PART ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001ce2904c 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:24: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001ce26de7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4876: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07dfe 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:02.489020 [ 39481 ] {773b32ab-5632-49ca-b714-a9c7a0b1b8da} TCPHandler: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001ce2904c 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:24: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001ce26de7 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4876: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&, std::shared_ptr) const @ 0x000000001cc07dfe 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:226: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff97af 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:14.342475 [ 39481 ] {1a78d007-f954-45fb-8a43-9545f77ddc1d} executeQuery: Code: 48. DB::Exception: Table test_k8fq1wiq.src_12 (76a0665a-b415-4920-b109-abab3cab8e07) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:44346) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 2 TO TABLE dst_15), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageMergeTree.cpp:2174: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d1106a5 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5119: DB::MergeTreeData::movePartitionToTable(DB::PartitionCommand const&, std::shared_ptr) @ 0x000000001cc0bc90 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5198: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c630 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:14.344641 [ 39481 ] {1a78d007-f954-45fb-8a43-9545f77ddc1d} TCPHandler: Code: 48. DB::Exception: Table test_k8fq1wiq.src_12 (76a0665a-b415-4920-b109-abab3cab8e07) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageMergeTree.cpp:2174: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d1106a5 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5119: DB::MergeTreeData::movePartitionToTable(DB::PartitionCommand const&, std::shared_ptr) @ 0x000000001cc0bc90 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5198: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c630 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:52.601059 [ 39487 ] {951cdab0-8434-448f-bb7a-d1f9e0216e1b} executeQuery: Code: 48. DB::Exception: Table test_k8fq1wiq.src_9 (98a663f3-2c94-407a-81d8-ea85921a1e68) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:37640) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 0 TO TABLE dst_9), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageMergeTree.cpp:2174: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d1106a5 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5119: DB::MergeTreeData::movePartitionToTable(DB::PartitionCommand const&, std::shared_ptr) @ 0x000000001cc0bc90 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5198: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c630 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:52.607033 [ 39487 ] {951cdab0-8434-448f-bb7a-d1f9e0216e1b} TCPHandler: Code: 48. DB::Exception: Table test_k8fq1wiq.src_9 (98a663f3-2c94-407a-81d8-ea85921a1e68) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000a8f15cc 6. /build/src/Storages/StorageMergeTree.cpp:2174: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d1106a5 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5119: DB::MergeTreeData::movePartitionToTable(DB::PartitionCommand const&, std::shared_ptr) @ 0x000000001cc0bc90 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5198: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c630 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:53.915939 [ 38969 ] {7b20117c-b766-45f2-bbe3-0ede44e6115d} executeQuery: Code: 384. DB::Exception: Part 3_9_9_0 has already been assigned a merge into 3_9_14_1. (PART_IS_TEMPORARILY_LOCKED) (version 24.3.12.76.altinitystable) (from [::1]:37660) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_8 DROP PART '3_9_9_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8789: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001c559680 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6450: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001c55bc87 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5164: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c282 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:38:53.921009 [ 38969 ] {7b20117c-b766-45f2-bbe3-0ede44e6115d} TCPHandler: Code: 384. DB::Exception: Part 3_9_9_0 has already been assigned a merge into 3_9_14_1. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:97: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000a941a55 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:8789: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x000000001c559680 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6450: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x000000001c55bc87 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5164: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0c282 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 11. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 12. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 13. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 14. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:42:31.585310 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} mysqlxx::Pool: Failed to connect to MySQL (conv_main@127.0.0.1:3456 as user metrika): mysqlxx::ConnectionFailed 2025.03.05 22:42:31.585668 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2025.03.05 22:42:31.585925 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to mysql failed 1 times 2025.03.05 22:42:31.586900 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} mysqlxx::Pool: Failed to connect to MySQL (conv_main@127.0.0.1:3456 as user metrika): mysqlxx::ConnectionFailed 2025.03.05 22:42:31.587241 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2025.03.05 22:42:31.587471 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to mysql failed 2 times 2025.03.05 22:42:31.588351 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} mysqlxx::Pool: Failed to connect to MySQL (conv_main@127.0.0.1:3456 as user metrika): mysqlxx::ConnectionFailed 2025.03.05 22:42:31.588750 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2025.03.05 22:42:31.589006 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} Application: Connection to mysql failed 3 times 2025.03.05 22:42:31.921896 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} executeQuery: Code: 501. DB::Exception: Cannot create MySQL database, because Code: 279. DB::Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0). (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Common/mysqlxx/PoolWithFailover.cpp:217: mysqlxx::PoolWithFailover::get() @ 0x000000002271259a 7. /build/src/Databases/MySQL/DatabaseMySQL.cpp:296: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x000000001a260598 8. /build/src/Databases/MySQL/DatabaseMySQL.cpp:214: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x000000001a25eee1 9. /build/src/Databases/MySQL/DatabaseMySQL.cpp:96: DB::DatabaseMySQL::empty() const @ 0x000000001a25eabf 10. /build/src/Databases/MySQL/DatabaseMySQL.cpp:77: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x000000001a25e752 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DatabaseMySQL* std::construct_at[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, DB::DatabaseMySQL*>(DB::DatabaseMySQL*, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a638 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void, void>(std::allocator&, DB::DatabaseMySQL*, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a367 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&>(std::allocator, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a015 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a269e47 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a269d8d 16. /build/src/Databases/MySQL/DatabaseMySQL.cpp:569: DB::registerDatabaseMySQL(DB::DatabaseFactory&)::$_0::operator()(DB::DatabaseFactory::Arguments const&) const @ 0x000000001a264528 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a263cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a263c5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a263c1d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a263be5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a09c57e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a098fbd 23. /build/src/Databases/DatabaseFactory.cpp:158: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a0986fc 24. /build/src/Databases/DatabaseFactory.cpp:111: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a09823a 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:291: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00995f 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 (version 24.3.12.76.altinitystable). (CANNOT_CREATE_DATABASE) (version 24.3.12.76.altinitystable) (from [::1]:56066) (comment: 01114_mysql_database_engine_segfault.sql) (in query: CREATE DATABASE conv_main ENGINE = MySQL('127.0.0.1:3456', conv_main, 'metrika', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Databases/MySQL/DatabaseMySQL.cpp:582: DB::registerDatabaseMySQL(DB::DatabaseFactory&)::$_0::operator()(DB::DatabaseFactory::Arguments const&) const @ 0x000000001a264632 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a263cbd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a263c5d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a263c1d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a263be5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a09c57e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a098fbd 13. /build/src/Databases/DatabaseFactory.cpp:158: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a0986fc 14. /build/src/Databases/DatabaseFactory.cpp:111: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a09823a 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:291: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00995f 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 22:42:31.922887 [ 39808 ] {227d80bf-e230-4269-ab94-331e1bb6f8ab} TCPHandler: Code: 501. DB::Exception: Cannot create MySQL database, because Code: 279. DB::Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0). (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Common/mysqlxx/PoolWithFailover.cpp:217: mysqlxx::PoolWithFailover::get() @ 0x000000002271259a 7. /build/src/Databases/MySQL/DatabaseMySQL.cpp:296: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x000000001a260598 8. /build/src/Databases/MySQL/DatabaseMySQL.cpp:214: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x000000001a25eee1 9. /build/src/Databases/MySQL/DatabaseMySQL.cpp:96: DB::DatabaseMySQL::empty() const @ 0x000000001a25eabf 10. /build/src/Databases/MySQL/DatabaseMySQL.cpp:77: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x000000001a25e752 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DatabaseMySQL* std::construct_at[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, DB::DatabaseMySQL*>(DB::DatabaseMySQL*, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a638 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void, void>(std::allocator&, DB::DatabaseMySQL*, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a367 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&>(std::allocator, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a26a015 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a269e47 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x000000001a269d8d 16. /build/src/Databases/MySQL/DatabaseMySQL.cpp:569: DB::registerDatabaseMySQL(DB::DatabaseFactory&)::$_0::operator()(DB::DatabaseFactory::Arguments const&) const @ 0x000000001a264528 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a263cbd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a263c5d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a263c1d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a263be5 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a09c57e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a098fbd 23. /build/src/Databases/DatabaseFactory.cpp:158: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a0986fc 24. /build/src/Databases/DatabaseFactory.cpp:111: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a09823a 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:291: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00995f 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 27. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 28. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 29. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 30. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 (version 24.3.12.76.altinitystable). (CANNOT_CREATE_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Databases/MySQL/DatabaseMySQL.cpp:582: DB::registerDatabaseMySQL(DB::DatabaseFactory&)::$_0::operator()(DB::DatabaseFactory::Arguments const&) const @ 0x000000001a264632 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001a263cbd 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001a263c5d 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001a263c1d 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001a263be5 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001a09c57e 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001a098fbd 13. /build/src/Databases/DatabaseFactory.cpp:158: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a0986fc 14. /build/src/Databases/DatabaseFactory.cpp:111: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x000000001a09823a 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:291: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001b00995f 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1791: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe3f 17. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 18. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 19. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 20. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 26. ? @ 0x00007ff3d325bac3 27. ? @ 0x00007ff3d32ed850 2025.03.05 22:42:40.665274 [ 39808 ] {f0daba01-2b88-430d-a2fa-59ad3499c490} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 24.3.12.76.altinitystable) (from [::1]:37802) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:42:40.667159 [ 39808 ] {f0daba01-2b88-430d-a2fa-59ad3499c490} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000a941e33 6. /build/src/Storages/StorageFile.cpp:1573: DB::StorageFile::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001c37976d 7. /build/src/Planner/PlannerJoinTree.cpp:878: DB::(anonymous namespace)::buildQueryPlanForTableExpression(std::shared_ptr, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::shared_ptr&, bool, bool) @ 0x000000001b551e18 8. /build/src/Planner/PlannerJoinTree.cpp:1667: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001b54d510 9. /build/src/Planner/Planner.cpp:1473: DB::Planner::buildPlanForQueryNode() @ 0x000000001b50e306 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001b50a455 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001b50765d 12. /build/src/Interpreters/executeQuery.cpp:1146: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0e12 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:44:52.497379 [ 39808 ] {b18c3eb0-35b7-4427-b83f-f589ae56cb67} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type UInt64.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49820) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:44:52.515911 [ 39808 ] {b18c3eb0-35b7-4427-b83f-f589ae56cb67} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type UInt64.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:44:55.822852 [ 39808 ] {c5628f4b-5d0a-45f2-86de-393f76a0222d} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:49832) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Float32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:44:55.826860 [ 39808 ] {c5628f4b-5d0a-45f2-86de-393f76a0222d} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:44:59.185777 [ 39808 ] {9bba4525-164f-4ca8-8ee9-19abeaa82a1f} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Array(UInt32).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:57726) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Array(UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:44:59.193535 [ 39808 ] {9bba4525-164f-4ca8-8ee9-19abeaa82a1f} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Array(UInt32).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:02.515792 [ 39808 ] {06449261-4a1a-4000-9a52-ca02e0b170fc} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Map(UInt64, UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:57742) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Map(UInt64, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:02.523644 [ 39808 ] {06449261-4a1a-4000-9a52-ca02e0b170fc} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack string into column with type Map(UInt64, UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:264: DB::insertString(DB::IColumn&, std::shared_ptr, char const*, unsigned long, bool) @ 0x000000001d7517ed 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:367: DB::MsgPackVisitor::visit_bin(char const*, unsigned long) @ 0x000000001d751920 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:591: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76d608 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:09.547899 [ 39808 ] {f87b2300-477f-44e0-a1a8-c8545ac308a5} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52304) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Float32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:09.551536 [ 39808 ] {f87b2300-477f-44e0-a1a8-c8545ac308a5} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:13.105440 [ 39808 ] {a9878bab-cfa9-413c-9b56-a1f63d1bc861} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type String.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52316) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x String')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:13.111572 [ 39808 ] {a9878bab-cfa9-413c-9b56-a1f63d1bc861} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type String.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:16.558121 [ 39808 ] {c74936b5-7c5d-496f-bdf6-03993b52d791} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Array(UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:52318) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Array(UInt64)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:16.563873 [ 39808 ] {c74936b5-7c5d-496f-bdf6-03993b52d791} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Array(UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:20.000029 [ 39808 ] {4253762d-451b-47ed-9d31-bb7a394b9784} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Map(UInt64, UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:39448) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Map(UInt64, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:20.007761 [ 39808 ] {4253762d-451b-47ed-9d31-bb7a394b9784} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack integer into column with type Map(UInt64, UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:197: DB::insertInteger(DB::IColumn&, std::shared_ptr, unsigned long) @ 0x000000001d75108c 7. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:349: DB::MsgPackVisitor::visit_positive_integer(unsigned long) @ 0x000000001d750b92 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:264: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c188 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 10. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 12. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 13. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 14. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 15. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 18. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 19. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 21. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 22. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 23. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 26. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 27. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 28. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 2025.03.05 22:45:27.244727 [ 39808 ] {99095bb2-9230-4f33-b8be-5e43a7169d7f} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type Float32: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:39468) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Float32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:27.248596 [ 39808 ] {99095bb2-9230-4f33-b8be-5e43a7169d7f} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type Float32: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:30.631625 [ 39808 ] {c7627b2a-e53c-4636-81c1-73c3fe696465} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type String: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53674) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x String')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:30.636541 [ 39808 ] {c7627b2a-e53c-4636-81c1-73c3fe696465} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type String: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:34.070944 [ 39808 ] {c1209ea8-1fd1-4c1c-905b-7e4b8fd237e4} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type UInt64: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53676) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:34.075344 [ 39808 ] {c1209ea8-1fd1-4c1c-905b-7e4b8fd237e4} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type UInt64: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:37.715648 [ 39808 ] {663a56db-69a2-4031-a9f4-520b3e24af92} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type Map(UInt64, UInt64): (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:53692) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Map(UInt64, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:37.722622 [ 39808 ] {663a56db-69a2-4031-a9f4-520b3e24af92} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack array into column with type Map(UInt64, UInt64): (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:414: DB::MsgPackVisitor::start_array(unsigned long) @ 0x000000001d7525cb 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:113: msgpack::v3::detail::context>::array_sv::operator()(unsigned int) const @ 0x000000001d76eba8 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::array_sv, msgpack::v3::detail::context>::array_ev>(msgpack::v3::detail::context>::array_sv const&, msgpack::v3::detail::context>::array_ev const&, char const*, unsigned long&) @ 0x000000001d76dbe1 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:318: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c3fe 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:44.985431 [ 39808 ] {a7a691b6-b2fc-4012-8d45-8447a1b74c58} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:54110) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Float32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:44.989323 [ 39808 ] {a7a691b6-b2fc-4012-8d45-8447a1b74c58} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type Float32.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:48.592848 [ 39808 ] {fbdd9e01-8f47-4107-97a3-9ef4d5addada} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type String.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:50592) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x String')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:48.597070 [ 39808 ] {fbdd9e01-8f47-4107-97a3-9ef4d5addada} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type String.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:51.936938 [ 39808 ] {b222b8d0-d0a4-457a-93f2-9b9728482639} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type UInt64.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:50604) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x UInt64')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:51.942172 [ 39808 ] {b222b8d0-d0a4-457a-93f2-9b9728482639} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type UInt64.: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:55.287278 [ 39808 ] {51905eaf-2216-48bb-8fb3-37bd1f5e9a8a} executeQuery: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type Array(UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN) (version 24.3.12.76.altinitystable) (from [::1]:50606) (comment: 01098_msgpack_format.sh) (in query: SELECT * FROM file('data.msgpack', 'MsgPack', 'x Array(UInt64)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:45:55.294500 [ 39808 ] {51905eaf-2216-48bb-8fb3-37bd1f5e9a8a} TCPHandler: Code: 44. DB::Exception: Cannot insert MessagePack map into column with type Array(UInt64).: (in file/uri /var/lib/clickhouse/user_files/data.msgpack): While executing MagPackRowInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:439: DB::MsgPackVisitor::start_map(unsigned int) @ 0x000000001d752834 7. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:130: msgpack::v3::detail::context>::map_sv::operator()(unsigned int) const @ 0x000000001d76f126 8. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:81: msgpack::v2::parse_return msgpack::v3::detail::context>::start_aggregate>::map_sv, msgpack::v3::detail::context>::map_ev>(msgpack::v3::detail::context>::map_sv const&, msgpack::v3::detail::context>::map_ev const&, char const*, unsigned long&) @ 0x000000001d76de01 9. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:321: msgpack::v3::detail::context>::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c49e 10. /build/contrib/msgpack-c/include/msgpack/v3/parse.hpp:633: msgpack::v3::detail::parse_helper::execute(char const*, unsigned long, unsigned long&) @ 0x000000001d76c04d 11. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:505: bool DB::MsgPackRowInputFormat::readObject>(msgpack::v3::detail::parse_helper&) @ 0x000000001d75867c 12. /build/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp:544: DB::MsgPackRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001d753902 13. /build/src/Processors/Formats/IRowInputFormat.cpp:134: DB::IRowInputFormat::read() @ 0x000000001d603e81 14. /build/src/Processors/Formats/IInputFormat.cpp:19: DB::IInputFormat::generate() @ 0x000000001d54391d 15. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 16. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 19. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 20. /build/src/Processors/Executors/PipelineExecutor.cpp:148: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001d51479e 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001d53bc3e 22. /build/src/Storages/StorageFile.cpp:1431: DB::StorageFileSource::generate() @ 0x000000001c378686 23. /build/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x000000001d4f6cd0 24. /build/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x000000001d4f69b6 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 27. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 28. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 29. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 2025.03.05 22:46:00.562077 [ 23502 ] {8ad583ee-75ad-4a07-a817-3052e55d6a30} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:45640) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_096e5e47-8681-4ddb-9831-76095310484e`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:385: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66e628 7. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveTableIdentifierFromDatabaseCatalog(DB::Identifier const&, std::shared_ptr) @ 0x000000001b0b1696 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4213: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0af286 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6960: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a89bf 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 22:46:00.563383 [ 23502 ] {8ad583ee-75ad-4a07-a817-3052e55d6a30} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:385: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66e628 7. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveTableIdentifierFromDatabaseCatalog(DB::Identifier const&, std::shared_ptr) @ 0x000000001b0b1696 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4213: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0af286 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6960: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a89bf 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 (version 24.3.12.76.altinitystable) 2025.03.05 22:46:00.599498 [ 23502 ] {79c39044-df52-488c-8699-071909279f18} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 24.3.12.76.altinitystable) (from [::ffff:127.0.0.1]:45648) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_096e5e47-8681-4ddb-9831-76095310484e`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:385: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66e628 7. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveTableIdentifierFromDatabaseCatalog(DB::Identifier const&, std::shared_ptr) @ 0x000000001b0b1696 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4213: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0af286 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6960: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a89bf 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 2025.03.05 22:46:00.601474 [ 23502 ] {79c39044-df52-488c-8699-071909279f18} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000aa1abf3 6. /build/src/Interpreters/DatabaseCatalog.cpp:385: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001a66e628 7. /build/src/Interpreters/DatabaseCatalog.cpp:952: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001a6740e3 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveTableIdentifierFromDatabaseCatalog(DB::Identifier const&, std::shared_ptr) @ 0x000000001b0b1696 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4213: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001b0af286 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6960: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a89bf 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8159: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09baa3 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 14. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 25. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 26. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 27. /build/src/Interpreters/executeQuery.cpp:1496: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb3c89 28. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 29. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 (version 24.3.12.76.altinitystable) 2025.03.05 22:46:10.114618 [ 39808 ] {cddea460-452b-4eb5-98a9-e95ceb3e4800} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'nonexistentsomething' in scope SELECT nonexistentsomething. (UNKNOWN_IDENTIFIER) (version 24.3.12.76.altinitystable) (from [::1]:46134) (comment: 01083_expressions_in_engine_arguments.sql) (in query: -- The following line is needed just to disable checking stderr for emptiness SELECT nonexistentsomething;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:46:10.115416 [ 39808 ] {cddea460-452b-4eb5-98a9-e95ceb3e4800} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'nonexistentsomething' in scope SELECT nonexistentsomething. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001b122fda 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6420: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b0a0d1e 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6640: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001b09f821 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6901: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b0a9fc7 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8173: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001b09bb43 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1150: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001b099d74 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:8408: DB::QueryAnalysisPass::run(std::shared_ptr&, std::shared_ptr) @ 0x000000001b099a33 12. /build/src/Analyzer/QueryTreePassManager.cpp:186: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001b08b1a6 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:142: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001b506bac 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:160: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001b5057e6 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001b508bb7 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:270: DB::registerInterpreterSelectQueryAnalyzer(DB::InterpreterFactory&)::$_0::operator()(DB::InterpreterFactory::Arguments const&) const @ 0x000000001b50804c 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001b507ffd 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: ? @ 0x000000001b507f9d 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001b507f5d 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001b507f25 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x000000001b42791e 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x000000001b422e9d 23. /build/src/Interpreters/InterpreterFactory.cpp:355: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001b42252d 24. /build/src/Interpreters/executeQuery.cpp:1133: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb0ab0 25. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 26. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 27. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 2025.03.05 22:46:18.177241 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} DNSResolver: Cannot resolve host (localhosx), error 0: Host not found. 2025.03.05 22:46:18.310712 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} Cluster: Code: 198. DB::NetException: Not found address of host: localhosx. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000013264693 6. /build/src/Common/DNSResolver.cpp:112: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000013258007 7. /build/src/Common/DNSResolver.cpp:137: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x0000000013256868 8. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0::operator()() const @ 0x000000001325a7e0 9. /build/src/Common/CacheBase.h:152: std::pair, bool> DB::CacheBase, DB::EqualWeightFunction>::getOrSet, DB::EqualWeightFunction>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0&&) @ 0x000000001325a54f 10. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&) @ 0x00000000132569dc 11. /build/src/Common/DNSResolver.cpp:244: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x000000001325710f 12. /build/src/Interpreters/Cluster.cpp:75: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001a5220c6 13. /build/src/Interpreters/Cluster.cpp:88: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001a5221e4 14. /build/src/Interpreters/Cluster.cpp:167: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a5230ba 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 19. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x00000000190cc023 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:823: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00f6ef 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa (version 24.3.12.76.altinitystable) 2025.03.05 22:46:26.314220 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} DNSResolver: Cannot resolve host (localhosy), error 0: Host not found. 2025.03.05 22:46:26.315040 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} Cluster: Code: 198. DB::NetException: Not found address of host: localhosy. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000013264693 6. /build/src/Common/DNSResolver.cpp:112: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000013258007 7. /build/src/Common/DNSResolver.cpp:137: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x0000000013256868 8. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0::operator()() const @ 0x000000001325a7e0 9. /build/src/Common/CacheBase.h:152: std::pair, bool> DB::CacheBase, DB::EqualWeightFunction>::getOrSet, DB::EqualWeightFunction>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0&&) @ 0x000000001325a54f 10. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&) @ 0x00000000132569dc 11. /build/src/Common/DNSResolver.cpp:244: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x000000001325710f 12. /build/src/Interpreters/Cluster.cpp:75: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001a5220c6 13. /build/src/Interpreters/Cluster.cpp:88: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001a5221e4 14. /build/src/Interpreters/Cluster.cpp:167: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a5230ba 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 19. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x00000000190cc023 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:823: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001b00f6ef 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1221: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b015bc4 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa (version 24.3.12.76.altinitystable) 2025.03.05 22:46:27.500202 [ 1088 ] {} DNSResolver: Cannot resolve host (localhosx), error 0: Host not found. 2025.03.05 22:46:35.501509 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} DNSResolver: Cannot resolve host (localhosx), error 0: Host not found. 2025.03.05 22:46:35.510390 [ 1088 ] {} DNSResolver: Cannot resolve host (localhosy), error 0: Host not found. 2025.03.05 22:46:35.663235 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} Cluster: Code: 198. DB::NetException: Not found address of host: localhosx. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000013264693 6. /build/src/Common/DNSResolver.cpp:112: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000013258007 7. /build/src/Common/DNSResolver.cpp:137: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x0000000013256868 8. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0::operator()() const @ 0x000000001325a7e0 9. /build/src/Common/CacheBase.h:152: std::pair, bool> DB::CacheBase, DB::EqualWeightFunction>::getOrSet, DB::EqualWeightFunction>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0&&) @ 0x000000001325a54f 10. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&) @ 0x00000000132569dc 11. /build/src/Common/DNSResolver.cpp:244: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x000000001325710f 12. /build/src/Interpreters/Cluster.cpp:75: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001a5220c6 13. /build/src/Interpreters/Cluster.cpp:88: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001a5221e4 14. /build/src/Interpreters/Cluster.cpp:167: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a5230ba 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 19. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x00000000190cc023 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1484: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01cccc 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa (version 24.3.12.76.altinitystable) 2025.03.05 22:46:43.665156 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} DNSResolver: Cannot resolve host (localhosy), error 0: Host not found. 2025.03.05 22:46:43.665901 [ 39808 ] {be411a40-9a8c-43bd-a8fd-b9a9e5416f9d} Cluster: Code: 198. DB::NetException: Not found address of host: localhosy. (DNS_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String const&) @ 0x0000000013264693 6. /build/src/Common/DNSResolver.cpp:112: DB::(anonymous namespace)::hostByName(String const&) @ 0x0000000013258007 7. /build/src/Common/DNSResolver.cpp:137: DB::(anonymous namespace)::resolveIPAddressImpl(String const&) @ 0x0000000013256868 8. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0::operator()() const @ 0x000000001325a7e0 9. /build/src/Common/CacheBase.h:152: std::pair, bool> DB::CacheBase, DB::EqualWeightFunction>::getOrSet, DB::EqualWeightFunction>&, String const&)::$_0>(String const&, DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&)::$_0&&) @ 0x000000001325a54f 10. /build/src/Common/DNSResolver.cpp:144: DB::(anonymous namespace)::resolveIPAddressWithCache(DB::CacheBase, DB::EqualWeightFunction>&, String const&) @ 0x00000000132569dc 11. /build/src/Common/DNSResolver.cpp:244: DB::DNSResolver::resolveAddress(String const&, unsigned short) @ 0x000000001325710f 12. /build/src/Interpreters/Cluster.cpp:75: DB::Cluster::Address::getResolvedAddress() const @ 0x000000001a5220c6 13. /build/src/Interpreters/Cluster.cpp:88: DB::Cluster::Address::isLocal(unsigned short) const @ 0x000000001a5221e4 14. /build/src/Interpreters/Cluster.cpp:167: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001a5230ba 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a5333c1 16. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533339 17. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a533296 18. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001a52b5e0 19. /build/src/Interpreters/Cluster.cpp:526: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001a52793d 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21ad4 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d21a51 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d219d7 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d218ea 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x0000000018d1c736 25. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x0000000018d1944e 26. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x00000000190cc023 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1484: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01cccc 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 30. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 31. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa (version 24.3.12.76.altinitystable) 2025.03.05 22:46:45.141657 [ 6913 ] {6862dbde-0018-495e-aeaa-e12e3b2d5258} StorageBuffer (test_gmruptoi.buffer): Destination table test_gmruptoi.file doesn't exist. Block of data is discarded. 2025.03.05 22:46:58.659033 [ 39808 ] {5ed4919a-d648-4696-9526-f351154bc551} test_ku4zfcxp.mt_compact (07c9a318-6329-4bbf-894c-bcb3bba77b22): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 22:46:58.800656 [ 39808 ] {b771f573-882b-43e2-95da-6153f1f0aac1} executeQuery: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED) (version 24.3.12.76.altinitystable) (from [::1]:41688) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact modify setting min_rows_for_wide_part = 1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3443: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbeab68 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 22:46:58.801464 [ 39808 ] {b771f573-882b-43e2-95da-6153f1f0aac1} TCPHandler: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000a941553 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3443: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001cbeab68 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:200: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff8fe9 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 9. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 10. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 11. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 12. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 2025.03.05 22:46:59.184168 [ 39808 ] {4ac25501-f7d1-4cc9-bb3c-3f30f51da29c} executeQuery: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 24.3.12.76.altinitystable) (from [::1]:41688) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact attach partition 1 from mt_compact_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x00000000135badac 6. /build/src/Storages/StorageMergeTree.cpp:2096: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f600 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:46:59.185265 [ 39808 ] {4ac25501-f7d1-4cc9-bb3c-3f30f51da29c} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x00000000135badac 6. /build/src/Storages/StorageMergeTree.cpp:2096: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001d10f600 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5229: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001cc0cc8b 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:227: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001aff9848 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:67: DB::InterpreterAlterQuery::execute() @ 0x000000001aff6ade 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:46:59.350200 [ 39808 ] {69409e8e-bb56-4c59-8f9b-3eda3c810c6c} test_ku4zfcxp.mt_compact (d4a71052-92db-488f-b21b-4be30a7ae9bd): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2025.03.05 22:47:08.339554 [ 40066 ] {4c9813d3-9e65-43f1-88f7-92669526cf08} executeQuery: Code: 1. DB::Exception: Lazy engine can be used only with *Log tables. (UNSUPPORTED_METHOD) (version 24.3.12.76.altinitystable) (from [::1]:41702) (comment: 01018_ddl_dictionaries_create.sql) (in query: CREATE DICTIONARY lazy_db.dict3 (`key_column` UInt64 DEFAULT 0 INJECTIVE, `second_column` UInt8 DEFAULT 1 EXPRESSION rand() % 222, `third_column` String DEFAULT 'qqq') PRIMARY KEY key_column, second_column SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() USER 'default' TABLE 'table_for_dict' PASSWORD '[HIDDEN]' DB 'database_for_dict_01018')) LIFETIME(MIN 1 MAX 10) LAYOUT(COMPLEX_KEY_HASHED())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Databases/DatabaseLazy.cpp:76: DB::DatabaseLazy::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a16d44b 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1544: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01dcfd 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:47:08.340510 [ 40066 ] {4c9813d3-9e65-43f1-88f7-92669526cf08} TCPHandler: Code: 1. DB::Exception: Lazy engine can be used only with *Log tables. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Databases/DatabaseLazy.cpp:76: DB::DatabaseLazy::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001a16d44b 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1544: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001b01dcfd 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1313: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001b017166 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001b01fe96 10. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 11. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 12. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 13. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 2025.03.05 22:48:15.316016 [ 39809 ] {a8e423bf-28e0-40fe-9220-ffcef514a718} InterpreterSystemQuery: SYNC REPLICA test_co5nk1hx.table_1013_2 (361a7a93-3a93-4191-ba00-027509a6d787): Timed out. 2025.03.05 22:48:15.449385 [ 39809 ] {a8e423bf-28e0-40fe-9220-ffcef514a718} executeQuery: Code: 159. DB::Exception: SYNC REPLICA test_co5nk1hx.table_1013_2 (361a7a93-3a93-4191-ba00-027509a6d787): command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED) (version 24.3.12.76.altinitystable) (from [::1]:56456) (comment: 01013_sync_replica_timeout_zookeeper.sh) (in query: SYSTEM SYNC REPLICA table_1013_2 ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1124: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001bbfc924 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:670: DB::InterpreterSystemQuery::execute() @ 0x000000001bbf031d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:48:15.451344 [ 39809 ] {a8e423bf-28e0-40fe-9220-ffcef514a718} TCPHandler: Code: 159. DB::Exception: SYNC REPLICA test_co5nk1hx.table_1013_2 (361a7a93-3a93-4191-ba00-027509a6d787): command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000a8eebf3 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1124: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001bbfc924 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:670: DB::InterpreterSystemQuery::execute() @ 0x000000001bbf031d 8. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 9. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 10. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 11. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 17. ? @ 0x00007ff3d325bac3 18. ? @ 0x00007ff3d32ed850 2025.03.05 22:49:09.679734 [ 39808 ] {446dda2a-c4d4-43d7-9430-9bbada15acb8} executeQuery: Code: 164. DB::Exception: Cannot modify 'output_format_json_quote_64bit_integers' setting in readonly mode. (READONLY) (version 24.3.12.76.altinitystable) (from [::1]:54658) (comment: 00474_readonly_settings.sh) (in query: set output_format_json_quote_64bit_integers=0 ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x00000000197468ba 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001974620d 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 10. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 11. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:49:09.682204 [ 39808 ] {446dda2a-c4d4-43d7-9430-9bbada15acb8} TCPHandler: Code: 164. DB::Exception: Cannot modify 'output_format_json_quote_64bit_integers' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:89: DB::Exception::Exception(String const&, int, bool) @ 0x000000000a941aaa 5. /build/src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000018d1be09 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x00000000197468ba 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001974620d 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x0000000019745cce 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001974633c 10. /build/src/Interpreters/Context.cpp:2229: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) @ 0x000000001a54b52c 11. /build/src/Interpreters/InterpreterSetQuery.cpp:19: DB::InterpreterSetQuery::execute() @ 0x000000001b5ed45a 12. /build/src/Interpreters/executeQuery.cpp:1195: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001bbb14d7 13. /build/src/Interpreters/executeQuery.cpp:1374: DB::executeQuery(String const&, std::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001bbab5aa 14. /build/src/Server/TCPHandler.cpp:517: DB::TCPHandler::runImpl() @ 0x000000001d46ec60 15. /build/src/Server/TCPHandler.cpp:2339: DB::TCPHandler::run() @ 0x000000001d485ec5 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 2025.03.05 22:51:40.928440 [ 39809 ] {dd0f3607-50ac-452a-969e-b27c73acda46} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40816): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:40816) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT PrettySpaceNoEscapes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 22:51:40.948627 [ 39809 ] {dd0f3607-50ac-452a-969e-b27c73acda46} DynamicQueryHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40816): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 22:51:41.065610 [ 39809 ] {dd0f3607-50ac-452a-969e-b27c73acda46} DynamicQueryHandler: Cannot send exception to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40816). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/HTTPServerResponse.h:164: DB::HTTPWriteBuffer::nextImplChunked() @ 0x000000001d49dc29 8. /build/src/Server/HTTP/HTTPServerResponse.h:135: DB::HTTPWriteBuffer::nextImpl() @ 0x000000001d49d8ef 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:116: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d1bf 10. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 11. /build/src/Server/HTTPHandler.cpp:955: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da37f 12. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 13. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:51:41.204684 [ 39809 ] {dd0f3607-50ac-452a-969e-b27c73acda46} DynamicQueryHandler: Cannot flush data to client (after sending exception): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40816). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTPHandler.h:94: DB::HTTPHandler::Output::finalize() @ 0x000000001d3e9629 13. /build/src/Server/HTTPHandler.cpp:970: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da13a 14. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:51:41.207228 [ 39809 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:12.391668 [ 39808 ] {5c0a38c9-a9dd-4dd2-89f5-fcbe02bd5b2b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:34988): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:34988) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT PrettySpaceNoEscapes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 22:52:12.410195 [ 39808 ] {5c0a38c9-a9dd-4dd2-89f5-fcbe02bd5b2b} DynamicQueryHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:34988): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:12.411049 [ 39808 ] {5c0a38c9-a9dd-4dd2-89f5-fcbe02bd5b2b} DynamicQueryHandler: Cannot send exception to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:34988). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/HTTPServerResponse.h:164: DB::HTTPWriteBuffer::nextImplChunked() @ 0x000000001d49dc29 8. /build/src/Server/HTTP/HTTPServerResponse.h:135: DB::HTTPWriteBuffer::nextImpl() @ 0x000000001d49d8ef 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:116: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d1bf 10. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 11. /build/src/Server/HTTPHandler.cpp:955: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da37f 12. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 13. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:12.411696 [ 39808 ] {5c0a38c9-a9dd-4dd2-89f5-fcbe02bd5b2b} DynamicQueryHandler: Cannot flush data to client (after sending exception): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:34988). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTPHandler.h:94: DB::HTTPHandler::Output::finalize() @ 0x000000001d3e9629 13. /build/src/Server/HTTPHandler.cpp:970: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da13a 14. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:12.413400 [ 39808 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:46.582199 [ 40066 ] {0f83cc74-53d7-4c01-9f93-e4ba4622520a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:37092): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:37092) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT PrettySpaceNoEscapes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 22:52:46.604461 [ 40066 ] {0f83cc74-53d7-4c01-9f93-e4ba4622520a} DynamicQueryHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:37092): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:46.605642 [ 40066 ] {0f83cc74-53d7-4c01-9f93-e4ba4622520a} DynamicQueryHandler: Cannot send exception to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:37092). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/HTTPServerResponse.h:164: DB::HTTPWriteBuffer::nextImplChunked() @ 0x000000001d49dc29 8. /build/src/Server/HTTP/HTTPServerResponse.h:135: DB::HTTPWriteBuffer::nextImpl() @ 0x000000001d49d8ef 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:116: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d1bf 10. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 11. /build/src/Server/HTTPHandler.cpp:955: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da37f 12. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 13. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:46.606678 [ 40066 ] {0f83cc74-53d7-4c01-9f93-e4ba4622520a} DynamicQueryHandler: Cannot flush data to client (after sending exception): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:37092). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTPHandler.h:94: DB::HTTPHandler::Output::finalize() @ 0x000000001d3e9629 13. /build/src/Server/HTTPHandler.cpp:970: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da13a 14. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:52:46.608788 [ 40066 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:20.322377 [ 39809 ] {68f04377-6bdc-4049-8769-8ba9bd06a3be} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:48820): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR) (version 24.3.12.76.altinitystable) (from [::1]:48820) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT PrettySpaceNoEscapes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 2025.03.05 22:53:20.341971 [ 39809 ] {68f04377-6bdc-4049-8769-8ba9bd06a3be} DynamicQueryHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:48820): While executing PrettySpaceBlockOutputFormat. (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Processors/Formats/IOutputFormat.cpp:111: DB::IOutputFormat::flush() @ 0x000000001d54699c 13. /build/src/Processors/Formats/IOutputFormat.cpp:0: DB::IOutputFormat::work() @ 0x000000001d5466f4 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001d5329e3 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001d532720 16. /build/src/Processors/Executors/PipelineExecutor.cpp:273: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001d514ca1 17. /build/src/Processors/Executors/PipelineExecutor.cpp:239: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001d515037 18. /build/src/Processors/Executors/PipelineExecutor.cpp:373: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001d515fd8 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x000000001d515f35 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: ? @ 0x000000001d515f15 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: ? @ 0x000000001d515ef5 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x000000001d515ec0 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: ? @ 0x0000000011b42fb6 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: ? @ 0x0000000011b42bf5 25. /build/src/Common/ThreadPool.cpp:526: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x00000000133d7e82 26. /build/src/Common/ThreadPool.cpp:253: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x00000000133e1cc4 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1c95 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x00000000133e1c79 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x00000000133e1b1d 30. /build/src/Common/ThreadPool.h:225: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x00000000133e19e5 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: ? @ 0x00000000133e1955 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:20.342835 [ 39809 ] {68f04377-6bdc-4049-8769-8ba9bd06a3be} DynamicQueryHandler: Cannot send exception to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:48820). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/HTTPServerResponse.h:164: DB::HTTPWriteBuffer::nextImplChunked() @ 0x000000001d49dc29 8. /build/src/Server/HTTP/HTTPServerResponse.h:135: DB::HTTPWriteBuffer::nextImpl() @ 0x000000001d49d8ef 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:116: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d1bf 10. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 11. /build/src/Server/HTTPHandler.cpp:955: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da37f 12. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 13. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 19. ? @ 0x00007ff3d325bac3 20. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:20.343458 [ 39809 ] {68f04377-6bdc-4049-8769-8ba9bd06a3be} DynamicQueryHandler: Cannot flush data to client (after sending exception): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:48820). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTPHandler.h:94: DB::HTTPHandler::Output::finalize() @ 0x000000001d3e9629 13. /build/src/Server/HTTPHandler.cpp:970: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da13a 14. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:20.344970 [ 39809 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x0000000022a06f07 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x0000000022a0b047 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000022891a27 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x00000000228a136b 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002289fd09 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x00000000228a3c1e 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x00000000133cda28 10. /build/base/poco/Net/src/HTTPServerSession.cpp:65: Poco::Net::HTTPServerSession::clientAddress() @ 0x00000000228803b0 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&, StrongTypedef const&) @ 0x000000001d4956f9 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001d49475c 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 18. ? @ 0x00007ff3d325bac3 19. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:36.503943 [ 725 ] {} Application: Closed all listening sockets. Waiting for 37 outstanding connections. 2025.03.05 22:53:40.305111 [ 39808 ] {76429471-ec47-4d29-a4b1-a1fda0d7535a} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 24.3.12.76.altinitystable) (from [::1]:40756) (in query: SELECT message_format_string, count(), any(message) AS any_message FROM system.text_log WHERE (now() - toIntervalMinute(240)) < event_time AND (message NOT LIKE (replaceRegexpAll(message_format_string, '{[:.0-9dfx]*}', '%') AS s)) AND (message NOT LIKE concat('%Exception: ', s, '%')) GROUP BY message_format_string ORDER BY count() DESC LIMIT 20 FORMAT PrettySpaceNoEscapes ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 11. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 2025.03.05 22:53:40.352165 [ 39808 ] {76429471-ec47-4d29-a4b1-a1fda0d7535a} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/Exception.h:109: DB::Exception::Exception<>(int, FormatStringHelperImpl<>) @ 0x000000000a8f3cb7 6. /build/src/Interpreters/ProcessList.cpp:480: DB::QueryStatus::checkTimeLimit() @ 0x000000001b6a5205 7. /build/src/Processors/Executors/PipelineExecutor.cpp:186: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001d513bc0 8. /build/src/Processors/Executors/PipelineExecutor.cpp:196: DB::PipelineExecutor::finalizeExecution() @ 0x000000001d51427f 9. /build/src/Processors/Executors/PipelineExecutor.cpp:131: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001d513b3e 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001d5110c8 11. /build/src/Interpreters/executeQuery.cpp:1601: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, DB::QueryFlags, std::optional const&, std::function) @ 0x000000001bbb5220 12. /build/src/Server/HTTPHandler.cpp:891: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&, StrongTypedef const&) @ 0x000000001d3d9289 13. /build/src/Server/HTTPHandler.cpp:1090: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dc370 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:40.471465 [ 39808 ] {76429471-ec47-4d29-a4b1-a1fda0d7535a} DynamicQueryHandler: Cannot send exception to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:111: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001d49d17c 11. /build/src/IO/WriteBuffer.h:53: DB::WriteBuffer::next() @ 0x000000000a929aed 12. /build/src/Server/HTTPHandler.cpp:955: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da37f 13. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 20. ? @ 0x00007ff3d325bac3 21. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:40.472274 [ 39808 ] {76429471-ec47-4d29-a4b1-a1fda0d7535a} DynamicQueryHandler: Cannot flush data to client (after sending exception): Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:8123 -> [::1]:40756). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:141: std::exception::capture() @ 0x000000000a8f8182 1. /build/contrib/llvm-project/libcxx/include/exception:116: std::exception::exception[abi:v15000]() @ 0x000000000a8f814d 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000022a03aa0 3. /build/src/Common/Exception.cpp:94: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000132ba32e 4. /build/src/Common/Exception.h:90: DB::Exception::Exception(String&&, int, bool) @ 0x000000000a8eed2a 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x00000000134e8348 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:116: DB::WriteBufferFromPocoSocket::socketSendBytes(char const*, unsigned long) @ 0x00000000134e6dc4 7. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:51: DB::WriteBufferFromHTTPServerResponse::writeHeaderProgressImpl(char const*) @ 0x000000001d49cd6d 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:60: DB::WriteBufferFromHTTPServerResponse::writeHeaderSummary() @ 0x000000001d49ce89 9. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:88: DB::WriteBufferFromHTTPServerResponse::finishSendHeaders() @ 0x000000001d49d02e 10. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:184: DB::WriteBufferFromHTTPServerResponse::finalizeImpl() @ 0x000000001d49d7d2 11. /build/src/IO/WriteBuffer.h:127: DB::WriteBuffer::finalize() @ 0x000000000a927662 12. /build/src/Server/HTTPHandler.h:94: DB::HTTPHandler::Output::finalize() @ 0x000000001d3e9629 13. /build/src/Server/HTTPHandler.cpp:970: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001d3da13a 14. /build/src/Server/HTTPHandler.cpp:1120: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&, StrongTypedef const&) @ 0x000000001d3dd5bf 15. /build/src/Server/HTTP/HTTPServerConnection.cpp:70: DB::HTTPServerConnection::run() @ 0x000000001d494dc7 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x00000000228abcd9 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x00000000228ac528 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x0000000022a83854 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x0000000022a805fa 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000022a7f33e 21. ? @ 0x00007ff3d325bac3 22. ? @ 0x00007ff3d32ed850 (version 24.3.12.76.altinitystable) 2025.03.05 22:53:41.410177 [ 725 ] {} Application: Closed connections. But 24 remain. Tip: To increase wait time add to config: 60 2025.03.05 22:53:41.410429 [ 725 ] {} Application: Will shutdown forcefully.